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
How many types of inheritance are there in c#?
What are native methods?
What are the extension methods in c#?
What is xpath in c#?
What is the use of getcommandlineargs() method in c#.net?
How to reduce image resolution in C#?
Why do we need to serialize data?
Why do we need collections in c#?
You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?
What is task parallel library?
What is multithreading with .net?
What is an assembly qualified name? Is it a filename? How is it different?
What exactly happens when we debug and build the program?
What does mean before a string in c#?
Can you specify an access modifier for an enumeration?