C# Programming Quiz


Play this quiz that will help you to excel in C# certification exams, placements etc. This C# programming quiz consist of 10 questions that you need to solve in 10 minutes. We’ve specially designed this quiz so that you can quickly acquaint to the pattern of questions you can be asked in placement drives, certification exams etc. This test enables you to assess your knowledge of C# programming.

Take the Free Practice Test



C# MCQs

Practice C# MCQ Questions, which will help you to understand C#, ASP.NET and AD.NET easily.

C# Quiz

Try Free C# Quiz, to start a quiz you need to login first, after login you will get start quiz button and then by clicking on that you can start quiz. You will get 10 Minutes to answer all questions.

C# Quiz

1. ASP (aka Classic ASP) was introduced in?

1997
1998
1999
2000

2. A namespace is a collection of classes.

TRUE
FALSE
Can be true or false
Can not say

3. Which exception class Handles errors generated during typecasting?

System.NullReferenceException
System.StackOverflowException
System.InvalidCastException
System.OutOfMemoryException

4. C# is a?

general-purpose programming language
object-oriented programming language
modern programming language
All of the above

5. The exception classes in C# are mainly directly or indirectly derived from the?

System.Exception class
Exception class
System.ApplicationException class
ApplicationException class

6. Choose .NET class name from which data type UInt is derived?

System.Int16
System.UInt32
System.UInt64
System.UInt16

7. In C#, Save the file using?

.c extension
.csharp extension
.net extension
.cs extension

8. Which among the following is considered as .NET Exception class?

Exception
File bound Exception
StackUnderflow Exception
All of the above

9. Difference between Response.Write() andResponse.Output.Write().

Response.Output.Write() allows you to buffer output
Response.Output.Write() allows you to write formatted output
Response.Output.Write() allows you to flush output
Response.Output.Write() allows you to stream output

10. Threads are ?

lightweight processes
heavyweight processes
Both A and B
None of the above

Results