C# in Easy level
/20
0
:
0
Submit
Total 20 question (100 marks)
1. Does .NET support the ability to inherit multiple interfaces?
2. How do you create a variable with the number value 10?
3. How do you create a variable with the floating number 1.80?
4. What is the name of the 'special' class that represents a group of constants?
5. Which of the following operator can be used to access the member function of a class?
6. How do you create a method in C#?
7. Which of the following is NOT allowed in C# as an access modifier?
8. Which of the following statements is true?
9. What will be the output of the following program? class Program { static void Main(string[] args) { double i;
10. A constructor in a class can have a return type.
11. Which of the following is correct about C# ?
12. Which datatype should be more preferred for storing a simple number like 30 to improve execution speed of a
13. Which data type is used to create a variable that should store text?
14. Correct Declaration of Values to variables a and b ?
15. Type casting is when you assign a value of one data type to another type.
16. Which of the following methods is an entry point in the C# console program?
17. Struct is a _____.
18. How do you start writing an if statement in C#?
19. Which operator can be used to compare two values?
20. Which of the following is correct about params in C#?
Next
Previous