C# in Easy level
/20
0
:
0
Submit
Total 20 question (100 marks)
1. Which of the following is the correct way of declaring an array in C#?
2. Which of the following keyword is used to declare a variable whose type will be automatically determined by
3. How do you start writing a while loop in C#?
4. Which of the following is correct about params in C#?
5. Which access modifier makes the code only accessible within the same class?
6. Which of the following access specifier in C# allows a class to expose its member variables and member
7. How many Bytes are stored by Decimal Datatype in C# .net?
8. Which of the following is a reference type in C#
9. What is the nullable type in C#?
10. Which operator can be used to compare two values?
11. Will the finally block get executed if an exception has not occurred?
12. How do you create a variable with the number value 10?
13. Correct Declaration of Values to variables a and b ?
14. Which operator is used to multiply numbers?
15. Which of the following methods is an entry point in the C# console program?
16. Func and Action are the types of ______.
17. What will be the output of the following code snippet? using System; class program { static void Main(string[] args)
18. Does C# support multiple inheritances?
19. Which of the following is the default access modifier in a namespace?
20. Type casting is when you assign a value of one data type to another type.
Next
Previous