C# QUIZ 3

4
Created on By Sirjana GhimireAcharya

C# Quiz 3

1 / 10

  1.  Which of the following statements are correct for the given code snippet:

shape obj;

obj = new shape();

2 / 10

2. Which .NET collection class allows elements to be accessed using a unique key?

3 / 10

3.  Which of the following C# keywords has nothing to do with multithreading?

4 / 10

4.   Find an invalid expression among the following C# Generics examples.

5 / 10

5.  new keyword in C# is used to creat new object from the type. Which of the followings is not allowed to use new keyword?

6 / 10

6. Can you specify accessibility modifier for methods inside an interface?

7 / 10

7. Arrange the following datatype in order of increasing magnitude sbyte, short, long, int.

8 / 10

8. How do you create a variable with the floating number 2.8?

9 / 10

9. Which method can be used to find the length of a string?

10 / 10

10. Which of the following access specifier in C# allows a child class to access the member variables and member functions of its base class?

Your score is

The average score is 65%

0%