Student[3] = 34;
Student s = new Student(); s[3] = 34;
Student s = new Student(); Console.WriteLine(s[3]);
Console.WriteLine(Student[3]);
Student.this s = new Student.this(); s[3] = 34;
namespace CuriousTabConsoleApplication { class SampleProgram { static void Main(string[] args) { int[]arr = newint[]{ 1, 2, 3, 4, 5 }; fun(ref arr); } static void fun(ref int[] a) { for (int i = 0; i < a.Length; i++) { a[i] = a[i] * 5; Console.Write(a[ i ] + " "); } } } }
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.