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. What class does the ASP.NET Web Form class inherit from by default?

System.Web.UI.Page
System.Web.UI.Form
System.Web.GUI.Page
System.Web.Form

2. Choose the correct statement about process-based multitasking.

A feature that allows our computer to run two or more programs concurrently
A program that acts as a small unit of code that can be dispatched by the scheduler
Only A program that acts as a small unit of code that can be dispatched by the scheduler
Both A feature that allows our computer to run two or more programs concurrently & A program that acts as a small unit of code that can be dispatched by the scheduler

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

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

4. Choose the namespace which supports multithreading programming?

System.net
System.Linq
System.Threading
All of the above

5. Default Session data is stored in ASP.Net.

StateServer
Session Object
InProcess
All of the above

6. Which exception class Handles errors generated during typecasting?

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

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

1997
1998
1999
2000

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

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

9. ASP stands for?

Active Server Pages
Access Server Pages
Active Server Platform
Active Server Programming

10. Attribute must be set on a validator control for the validation to work

ControlToValidate
ControlToBind
ValidateControl
Validate

Results