Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between these statements
obj=null and obj.dispose()

Answer Posted / pushparaj pentakota

obj=null is remove the reference to object only but that
object will be existed but obj.dispose() is clear the
reference and as well as clear the object also from the
memory.so obj.dispose() is best to use but in some cases not.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between user control and custom control. Also, explain their use.

1059


How to declares a two-dimensional array in C#?

1021


What is the difference between array and arraylist in c#?

1032


What is event and delegates in c#?

989


What is code verification?

982


Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?

957


What is the use of static in c#?

929


What are the boolean data types in c#?

1012


What is the default value of decimal in c#?

920


What is difference between c sharp and c#?

898


Define thread? Explain about multithreading?

961


Which debugging tools you can use in the .NET ssSDK?

974


What does || mean in programming?

973


What is managed code?

1039


who is a protected class-level variable available to?

1016