-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: praveen_zagade
Message 13 in Discussion




  
    
    New Message on MumbaiUserGroup
  
  





      Question of the Day

    
  
    
      Reply

          
            
                
               
                  Reply to Sender
                    Recommend
                  
                  Message 11 in Discussion
                                                
            
          
        
                    
        
            
              From: 
              praveen_zagade
            
            
              

              


  
    
    New Message on MumbaiUserGroup
  
  





      Question of the Day

    
  
    
      Reply

          
            
                
               
                  Reply to Sender
                    Recommend
                  
                  Message 9 in Discussion
                                                
            
          
        
                    
        
            
              From: 
              praveen_zagade
            
            
              

              Q:
What is the difference between setting an object to null and calling dispose 
method of the object ?


A:
Setting an object to "null" just removes the reference of the object i.e. 
when we do "obj = null" we can no longer refer to the object we created 
using the statement "Object obj = new Object()" but the object is still 
alive in the memory. If we try to use the reference 'obj'(i.e. obj.dispose 
or obj.tostring or anything else) after setting it to null it will give a 
"System.NullReferenceException".

When we do "obj.dispose()" the object is actually disposed off all its 
resources.

Regards,
Praveen

_________________________________________________________________
NRIs open a savings a/c with just INR 10,000 
http://creative.mediaturf.net/creatives/icicibank/TOL210405.htm FREE money 
transfers.


          
        
      
          
  

    View other groups in this category.
  

  

      



          
        
      
          
  

    View other groups in this category.
  

  

      




-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to