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


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. In C#, Save the file using?

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

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


3. Choose the namespace which supports multithreading programming?

All of the above

4. The goal of dotConnect for SQL Server is to enable developers to maintain database applications

Can be true or false
Can not say

5. Which of the following is the object oriented way to handle run time errors?

Error codes
All of the above

6. The runtime aborts the thread by throwing a ThreadAbortException

Can be true or false
Can not say

7. What is synchronization in reference to a thread?

It is a process of handling situations when two or more threads need access to a shared resource
It is a process by which many threads are able to access the same shared resource simultaneously
It is a process by which a method is able to access many different threads simultaneously
It is a method that allows too many threads to access any information they require

8. Number of digits upto which precision value of float data type is valid?

Upto 6 digit
Upto 7 digit
Upto 8 digit
Upto 9 digit

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. C# is a?

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