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. The first line of the program is?

using System
namespace 
using namespace
None of the above

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

Error codes
HERRESULT
OnError
All of the above

3. Which of the following is true?

ASP.NET Web Forms is not a part of the new ASP.NET Core.
ASP.NET Web Forms is an event driven application model.
ASP.NET MVC is an MVC application model (Model-View-Controller).
All of the above

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

One
Two
Three
Four

5. Which method copies the structure of the DataSet, including all DataTable schemas, relations, and constraints?

EndInit
Clone
Copy
BeginInit

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

1997
1998
1999
2000

7. The DataReader object is an alternative to the?

DataSet
DataAdapter
Both A and B
None of the above

8. Select the type of multitasking methods that exist:

process based
thread based
only process
both process & thread based

9. C# is a?

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

10. Which properties gets or sets the name of the current data set?

DefaultSetName
DefaultViewManager
DataSetName
SetName

Results