C# Exclusive Interview Questions and Answers (453) - Page 13

  • A joint initiative from DotNetFunda.Com and Questpond.
  • A one stop place on the internet to get trusted and proven Interview Questions (based on more than a decade of experience in this field) to ensure the success of the candidates.
  • You will find almost all Interview questions from Questpond here and this list is growing day by day with all latest and updated interview questions.

453 records found.

Get 650+ Questpond's Interview videos on discount

What is SQL injection

A SQL injection attack attempts to compromise your database by creating
SQL commands that are executed instead of, or in addition to, the
commands that you have built into your application.
Can we add relations between the tables in dataset

Yes we can. It is done using DataRelation Object
can we enable or diasble the connection pool

By default Connection is enabled.If we explicitly want to enable or disable connection pooling we should set Pooling=true/false in your connection string.
Which is the top layer in the ADO.NET Entity Framework

Object Services
Explanation: Object Services is the top layer in the ADO.NET Entity Framework. This framework is made up of three layers: EDM (Entity Data
Model), Mapping and Source. Object Services falls under the EDM layer.
What happens internally if the statement cmd.Prepare() is executed in the Frontend

The sql statements will be compiled and a cache copy of the same will be
created so that next time the result can be given using the cache copy
for different parameters.
In Sql server the parameters must begin with ______________

NOTE: This is objective type question, Please click question title for correct answer.
In oracle the parameters must begin with ___________

NOTE: This is objective type question, Please click question title for correct answer.
______________ is a precompiled set of sql statement which are compiled in native form and stored in the backend.

NOTE: This is objective type question, Please click question title for correct answer.
Its recommended to use the __________ methods for fetching data from data reader

NOTE: This is objective type question, Please click question title for correct answer.
Is it compulsory that every opened connection must be closed

NOTE: This is objective type question, Please click question title for correct answer.
In an SQL statement, if the value of Varchar field is in single quotes, then it must be encolsed in _________

NOTE: This is objective type question, Please click question title for correct answer.
By default, How many data reader's can be opened on one connection object at a time

NOTE: This is objective type question, Please click question title for correct answer.
Can multiple catch blocks be executed

No,once the proper catch code fires off, the control is transferred to the
finally block (if there are any), and then whatever follows the finally
block.
In .NET every exception is an object of type ____________

NOTE: This is objective type question, Please click question title for correct answer.
Whenever the integrity of an object is violated, _______________

NOTE: This is objective type question, Please click question title for correct answer.
Exception is a _________________ error

NOTE: This is objective type question, Please click question title for correct answer.
Can a variable declared in try block accessed in catch block

NOTE: This is objective type question, Please click question title for correct answer.
Can we use goto and return in finally block

NOTE: This is objective type question, Please click question title for correct answer.

More C# Interview Questions & Answers here

Found this useful, bookmark this page to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape

 Exclusive Interview Questions and Answers Categories