C# - Level Beginner 5
/20
0
:
0
Submit
Total 20 question (100 marks)
1. Which .NET collection class allows elements to be accessed using a unique key?
2. Which of the following is NOT allowed in C# as an access modifier?
3. Can a sealed class is a base class?
4. Which operator is used to multiply numbers?
5. How many Bytes are stored by Long Datatype in C# .net ?
6. Which operator can be used to compare two values?
7. What will be the output of the following code snippet? using System; class program { static void Main(string[] args)
8. Which property can be used to find the length of a string?
9. Which of the following converts a type to a specified type in C#?
10. What is boxing in C#?
11. What is the correct syntax to output "Hello World" in C#(console application)?
12. How do you create a method in C#?
13. How do you insert COMMENTS in C# code?
14. Will the finally block get executed if an exception has not occurred?
15. Does C# support multiple inheritances?
16. Which of the following operator can be used to access the member function of a class?
17. Which of these statements correctly declares a two-dimensional integer array in C#?
18. What is the correct way to create an object called myObj of MyClass?
19. Which of the following is correct about static member variables of a class?
20. Which keyword is used to return a value inside a method?
Next
Previous