+ 1

where are my mistakes?

int[] arr = new int[] { 2, 4, 5, 8, 9, 7, 6, 3 }; Array.Sort(arr); foreach (int i in arr) { Console.WriteLine(arr[i]); } string S1 = "keep"; string S2 = "Going"; Console.WriteLine(string.Concat(S1, S2)); Console.WriteLine(string.Equals(S1, S2)); Console.WriteLine(DateTime.DaysInMonth(2017, 2)); Console.ReadLine();

16th Jul 2017, 2:17 PM
Raffi Ohannesian
Raffi Ohannesian - avatar
2 Respostas
+ 4
int[] arr = { 2, 4, 5, 8, 9, 7, 6, 3 };
16th Jul 2017, 2:54 PM
OUMAS Abdellah
OUMAS Abdellah - avatar
+ 2
Didn't the compiler give any error message/description? what did it say?
16th Jul 2017, 2:25 PM
Ipang