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. A namespace is a collection of classes.

TRUE
FALSE
Can be true or false
Can not say

2. 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

3. C# exception handling is built upon __________ keywords.

One
Two
Three
Four

4. 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

5. The ________________ class is the base class for all predefined system exception

System.ApplicationException
System.SystemException
System.IO.IOException
System.IndexOutOfRangeException

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

Error codes
HERRESULT
OnError
All of the above

7. Which of these keywords are used to implement synchronization?

synchronize
syn
synch
synchronized

8. Which of the following is enumeration for ADO.net with SQL Server?

SqlInfo
SqlBulkCopyOptions
SqlNotification
All of the above

9. The threads created using the Thread class are called the?

child threads
parent threads
base threads
None of the above

10. 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

Results