1. Which of the followings is not allowed in C# as access modifier?
2. In the C# code below, what is this[int i]? class MyClass { // ... public string this[int i] { get{ return arr[i];} set{ arr[i] = value; } } }
3. Which of the following C# keywords has nothing to do with multithreading?
4. Find an invalid expression among the following C# Generics examples.
5. new keyword in C# is used to creat new object from the type. Which of the followings is not allowed to use new keyword?
6. In the example below, button1 is an object of Button class in WinForms. Which one is a wrong expression as a click event handler?
7. In the C# example below, which using statement is wrong?
8. What is the output of this C# code? int? i = 8 >> 5; int? j = i > 0 ? i : null; var a = j ?? int.MinValue; Console.WriteLine(a);
9. Find a correct statement about C# exception
10. Find an invalid Main() method prototype, which is entry point in C#?