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. Which of the following is the object oriented way to handle run time errors?

Error codes
HERRESULT
OnError
All of the above

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

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

One
Two
Three
Four

5. Which properties Returns the parent DataSet?

ParentColumns
ParentRelations
ParentDataSet
DataSet

6. Web.config file is used

Configures the time that the server-side codebehind module is called
To store the global information and variable definitions for the application
To configure the web server
To configure the web browser

7. An exception is a problem that arises?

before the execution of a program
during the execution of a program
after the execution of a program
none of the above

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

Try
Throw
Catch
Finally

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

1997
1998
1999
2000

10. The first line of the program is?

using System
namespace 
using namespace
None of the above

Results