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. Which of the following not true about C#?

It is component oriented
It is a unstructured language
It is easy to learn
It is a part of .Net Framework.

2. Classic ASP pages have the file extension?

.aspx
.net
.asp
.cs

3. The _________ keyword indicates the catching of an exception.

Try
Throw
Catch
Finally

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

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

7. The DataReader object is an alternative to the?

DataSet
DataAdapter
Both A and B
None of the above

8. In C#, Save the file using?

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

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

child threads
parent threads
base threads
None of the above

10. Which method for making a thread pause for a specific period of time.

push()
wait()
sleep()
stack()

Results