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


Please Help Members By Posting Answers For Below Questions

What is the concept of strong names?

537


So what makes your code really object-oriented #?

527


Where’s global assembly cache located on the system?

529


How C# 4.0 supports dynamic programming language?

573


What is single dimensional array in c#?

501






Can you store strings in arrays?

539


Why would you use a class property in c#?

507


What are the commonly used i/o classes?

529


What does get set mean in c#?

495


Why do we need nullable types in c#?

686


What is default value of bool in c#?

522


What is dictionary collection in c#?

498


What are the Types of optimization and name a few and how do u do?

526


What is the difference between abstract class and interface in c#?

495


What is datagridview in c#?

645