What is the use of "default" and "Using" keyword?
Answer Posted / ravi
"default" ensures the correct initialisation takes place
and "Using" ensures the disposal of object.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is sqlcommandbuilder c#?
What are modifiers in c#?
Can we have 2 main methods in c#?
What are extensions methods in c#?
Does c# have a 'throws' clause?
What is the difference between dynamic and var in c#?
Is c# lazy thread safe?
What is difference between asp net and c# net?
What is a variable in c#?
What will a loop recorder show?
How do I count the length of a string in c#?
Does c# support a variable number of arguments?
What is the correct way of declaring an xml namespace?
What are the methods in c#?
Can structs in c# have destructors?