Thursday, April 2, 2009

C# Interview Questions Part VII

61. Why would you use untrusted verificaion?

Ans. Web Services might use it, as well as non-Windows applications.

62. What does the parameter Initial Catalog define inside Connection String?

Ans. The database name to connect to.

63. What’s the data provider name to connect to Access database?

Ans. Microsoft.Access.

64. What does Dispose method do with the connection object?

Ans. Deletes it from the memory.

65. What is a pre-requisite for connection pooling?

Ans. Multiple processes must agree that they will share the same connection, where every parameter is the same, including the security settings.

No comments: