Answer Posted / mayur teli
We can also use Using statement
when we use it, there is no need to explicitly dispose the object. Using statement take care of it.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Why to use lock statement in c#?
Differentiate between dataset and datareader?
What is multidimensional array in c#?
What is cookies c#?
write code for inserting and updating recoards in sql server database using connected architecture & records shoulds displayed in grid view ( use c# )
How many static constructors are allowed in a class?
What is the use of console application in c#?
What is dynamic object in c#?
Can interface inherit class in c#?
Why we use extension method in c#?
What are the advantages of using partial classes?
What is a generic class?
What is difference between assembly and dll?
What is the difference between an application domain and a process?
What is xml serialization in c#?