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
What is a service layer c#?
What is a partial class. Give an example?
What is a virtual property. Give an example?
What is tryparse?
How long does a loop recorder procedure take?
How do I unload an assembly?
How does c# generics and c++ templates compare?
Why can’t struct be used instead of class for storing entity?
Explain the ways to deploy an assembly?
Can I call a virtual method from a constructor/destructor?
If dll and exe files are same it means you can deploy both the files in gac?
What are c# i/o classes? What are the commonly used i/o classes?
Why do we use abstraction in c#?
What is generic delegate in c#?
Name any three ways to pass parameters to a method in c#?