Quiz 3
1. Which method is used to convert a string to an integer?
2. What is the output of Console.Write("{0}", 2 && 0); ?
3. Which namespace is needed for char.ToLower() ?
4. What is the value of !(5 > 3) in C#?
5. What is the output of Console.Write("{0}", 3 | 1); ?
6. Which method is used to concatenate two strings?
7. Which operator tests for inequality in C#?
8. Which is the correct way to declare a reference to a char?
9. What is the output of Console.Write("{0}", 7 == 7); ?
10. Which class is needed for Environment.Exit() ?
Previous Next