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
The int maps to which C# keyword in .NET type?
What is difference between Trace and Debug
Explain the difference between a Private Assembly and a Shared Assembly
Differentiate between object pooling and connection pooling in c#?
What is primitive types in c#?
Does c# have primitives?
What is the difference between array and arraylist c#?
What is the difference between static class and abstract class in c#?
Can you specify an access modifier for an enumeration?
What is object pool in .net?
What do you mean by expression tree?
What is hashtable in c# with example?
Why does dllimport not work for me?
What is a method signature in c#?
Why do canadians say zed?