C# in Easy level
/20
0
:
0
Submit
Total 20 question (100 marks)
1. Dynamic polymorphism is implemented by abstract classes and virtual functions.
2. Which property can be used to find the length of a string?
3. Can multiple catch blocks be executed for a single try statement.
4. Func and Action are the types of ______.
5. Which of the following is the default access modifier in a namespace?
6. What will be the output of the following code? var greet = "Hello "; var name = "CShap"; Console.WriteLine($"{greet} {name}");
7. What is the nullable type in C#?
8. Which of the following is a reserved keyword in C#?
9. Which of the following is a reference type in C#
10. How do you create a method in C#?
11. Type casting is when you assign a value of one data type to another type.
12. How do you call a method in C#?
13. The partial class allows ________.
14. Which of the following is NOT allowed in C# as an access modifier?
15. Which of the following is the correct way of declaring an array in C#?
16. What will be the output of the following program? public static void Main(string[] args) { int a = 1,
17. How many Bytes are stored by Long Datatype in C# .net ?
18. Struct is a _____.
19. What is the name of the 'special' class that represents a group of constants?
20. How do you start writing an if statement in C#?
Next
Previous