How we free the memory in C#.NET.

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


Please Help Members By Posting Answers For Below Questions

Why do we need private constructor in c#?

651


What is the example of predicate?

674


What is cshtml extension?

685


What is private in c#?

658


What are object pooling and connection pooling and difference between them?

705


Will the following code compile?

736


What is the difference between var and dynamic types in c# 4.0?

689


How to find the current application file path while runtime?

693


Explain manifest & metadata in c#.

729


Define a strong name in .net?

728


What do you understand by 'access specifiers' in C#?

679


Why do we need indexers in c#?

643


Why is it important to override gethashcode when equals method is overridden?

748


Is c# difficult to learn?

642


Is c# and .net same?

644