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 properties gets or sets the name of the current data set?

DefaultSetName
DefaultViewManager
DataSetName
SetName

2. C# has strong resemblance with?

C
C++
Java
Python

3. Threads are ?

lightweight processes
heavyweight processes
Both A and B
None of the above

4. Syntax for closing and opening the connection in ADO.net is _______________

sqlConn.Open() and sqlConn.close()
sqlConn.open() and sqlConn.Close()
sqlConn.Open() and sqlConn.Close()
None of the above

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

6. The runtime aborts the thread by throwing a ThreadAbortException

TRUE
FALSE
Can be true or false
Can not say

7. Which among the following is considered as .NET Exception class?

Exception
File bound Exception
StackUnderflow Exception
All of the above

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

Error codes
HERRESULT
OnError
All of the above

9. Choose .NET class name from which data type UInt is derived?

System.Int16
System.UInt32
System.UInt64
System.UInt16

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

SqlInfo
SqlBulkCopyOptions
SqlNotification
All of the above

Results