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 process of polymorphism with an example?

918


What is string empty?

908


Are objects passed by reference in c#?

997


How C# 4.0 supports dynamic programming language?

1021


Define c# i/o classes? List the commonly used classes?

984


What is difference between internal and protected internal in c#?

945


What is namespace explain with example?

863


Which one is trusted and which one is untrusted?

941


Name some string escape sequences in c#.

1041


Explain the difference between a sub and a function in c#.

1025


Why we need get set property in c#?

972


What is the use of return in c#?

952


Is multiple inheritance possible in c#?

1009


Are structs value types c#?

902


What is default access modifier for class in c#?

1032