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

2. C# has strong resemblance with?

C
C++
Java
Python

3. Difference between Response.Write() andResponse.Output.Write().

Response.Output.Write() allows you to buffer output
Response.Output.Write() allows you to write formatted output
Response.Output.Write() allows you to flush output
Response.Output.Write() allows you to stream output

4. Which properties Returns the parent DataSet?

ParentColumns
ParentRelations
ParentDataSet
DataSet

5. The ________________ class is the base class for all predefined system exception

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

6. The main features of dotConnect for SQL Server includes ___________

Extra data binding capabilities
Ability of monitoring query execution
Supports the latest versions of SQL Server
All of the above

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

EndInit
Clone
Copy
BeginInit

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

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

One
Two
Three
Four

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

Results