C# in Random level
/20
0
:
0
Submit
Total 20 question (100 marks)
1. Which property can be used to find the length of a string?
2. Which of the following statements is true?
3. Find a correct statement about C# exception
4. What is the correct way to create an object called myObj of MyClass?
5. Which of the following is not allowed to use a new keyword?
6. How many Bytes are stored by Long Datatype in C# .net ?
7. How do you create a variable with the number value 10?
8. What is faster, class or struct?
9. Which of the following access specifier in C# allows a class to expose its member variables and member
10. What will be the output of the following code? SortedList sortedList = new SortedList()
11. Which datatype should be more preferred for storing a simple number like 30 to improve execution speed of a
12. The partial class allows ________.
13. Can multiple catch blocks be executed for a single try statement.
14. Which of the following converts a type to a single Unicode character, where possible in C#?
15. Which of the following is the correct way of declaring an array in C#?
16. Func and Action are the types of ______.
17. Which of the following data types can include maximum positive or negative, integer or float value?
18. Which of the following is a reference type in C#
19. What is the output of this C# code? int? i = 8 >> 5; int? j = i > 0
20. The value of a string variable can be surrounded by single quotes.
Next
Previous