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 ________________ class is the base class for all predefined system exception

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

2. Which of the following is the wrong statement about exception handling in C#.NET?

finally clause is used to perform cleanup operations of closing network and database connections
a program can contain multiple finally clauses
the statement in final clause will get executed no matter whether an exception occurs or not
None of the above

3. The runtime aborts the thread by throwing a ThreadAbortException

TRUE
FALSE
Can be true or false
Can not say

4. Attribute must be set on a validator control for the validation to work

ControlToValidate
ControlToBind
ValidateControl
Validate

5. Classic ASP pages have the file extension?

.aspx
.net
.asp
.cs

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

SqlInfo
SqlBulkCopyOptions
SqlNotification
All of the above

7. CLI in C# Stands for?

Common Language Infrastructure
Code Language Infrastructure
Computer Language Infrastructure
C# Language Infrastructure

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

1997
1998
1999
2000

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

TRUE
FALSE
Can be true or false
Can not say

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