1. What does C# stand for?
2. Which of the following is a valid C# identifier?
3. Which access modifier makes a member accessible only within its own class?
4. Which of the following keyword is used for including the namespaces in the program in C#?
5. Which data type is used to store whole numbers in C#?
6. What is the C# equivalent of the 'if' statement in C++?
7. Which C# keyword is used to create an instance of a class?
8. Which of the following is used to handle exceptions in C#?
9. Which of the following is NOT a primitive data type in C#?
10. In C#; which keyword is used to declare a class?
11. Which C# access modifier provides the widest level of access?
12. Which C# loop construct is used to iterate through an array or collection?
13. Which keyword is used to handle exceptions in C#?
14. Which of the following converts a type to a string in C#?
15. Which of the following is the default access specifier of a class member function?
16. Which of the following is not a namespace in the .NET Framework Class Library?
17. Which of these methods is a rounding function of Math class?
18. Which of the following functions return absolute value of a variable?
19. The capability of an object in C# to take number of different forms and hence display behaviour as according is known as?
20. When a value type is converted to object type; it is called as what?
21. When a object type is converted to value type; it is called as what?
22. In C#; which access modifier is used to specify that a class member can only be accessed within its own class and derived classes?
23. In C#; which access modifier is used to declare a class member that can be accessed only within its own class?
24. In C#; which keyword is used to define a class that cannot be instantiated and may only contain static members?
25. Which of the following is not a valid data type in C#?
25 uniquely designed questions just for you to evaluate your skills in Basics of CSharp quiz. Are you ready to challenge yourself and explore more? Let's get started and see how much you can score out of 25.
Please feel free to report any corrections if you come across any inaccuracies or errors. Your feedback is valuable in maintaining the accuracy of our content.
Questions