31. What is the correct way to declare a floating-point variable with single precision in C#?
32. Which of the following is a valid way to declare a constant string in C#?
33. What is the output of the following code: Console.WriteLine("10" + 5);
34. What is the default value of a reference type variable in C# if not explicitly initialized?
35. What is the purpose of the 'foreach' loop in C#?
36. What does the 'new' keyword do in C#?
37. Which data type is used to store true/false values in C#?
38. What is the correct way to declare a multi-dimensional array in C#?
39. What is the purpose of the 'is' keyword in C#?
40. In C#, what is the result of the expression 5 / 2?
Read More Section(Basic Syntax and Data Types in C Sharp)
Each Section contains maximum 100 MCQs question on Basic Syntax and Data Types in C Sharp. To get more questions visit other sections.