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 extension of c# file?

619


3. Use layered architecture for coding. s.no name description 1 abc xxxxxxxxx 2 abc xxxxxxxxx 3 4 5 6 7 8 Select all Clear all Add Delete Name Description Save close

1611


What is thread.sleep()?

679


What is assembly c#?

644


Why we use extension method in c#?

675


What language is arduino?

721


How will you allow a class to be inherited, but prevent the method from being over-ridden?

701


What are variables in c#?

700


My switch statement works differently! Why?

681


What is parameterized constructor?

685


Why we use methods in c#?

714


How do you read an Excel sheet in C#?

747


What is c-sharp (c#)?

711


How do you inherit a class into other class in c#?

668


What is array c#?

700