C# Essentials (Microsoft, Visual Studio 2010) Quiz Questions and Answers
Answer :
Language Integrated Query
Explanation :
LINQ stands for Language Integrated Query. LINQ is a data querying methodology
which provides querying capabilities to .NET languages with syntax similar to a SQL query.
A) ConnectionString: It provides information, such as database name and user credentials for
database access and so on.
B) Open(): Opens the connection for accessing the database. C) Close(): Closes the connection to the database. All of the above
Explanation :
The connection component of a dataprovider establishes a connection with a database. To connect
to Microsoft SQL Server, you use the SQL connection class.
A) Indexer allows classes to be used in more intuitive manner. B) Indexers which are used for treating an object as an array. C) The indexers are usually known as smart arrays in C#. All of the above
Explanation :
An indexer, also called an indexed property, is a class property that allows you to access a
member variable of a class using the features of an array.
A) It describes the external format of data passed to and from service operations. B) It defines the structure and types of data exchanged in service messages. C) It maps a CLR type to an XML Schema All of the above
Explanation :
A data contract is a formal agreement between a service and a client that abstractly
describes the data to be exchanged.