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

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: LostWorld79
Message 15 in Discussion




  
    
    New Message on MumbaiUserGroup
  
  





      Question Of The Day !!!!

    
  
    
      Reply

          
            
                
               
                  Reply to Sender
                    Recommend
                  
                  Message 14 in Discussion
                                                
            
          
        
                    
        
            
              From: 
              LostWorld79
            
            
              

              


  
    
    New Message on MumbaiUserGroup
  
  





      Question Of The Day !!!!

    
  
    
      Reply

          
            
                
               
                  Reply to Sender
                    Recommend
                  
                  Message 7 in Discussion
                                                
            
          
        
                    
        
            
              From: 
              LostWorld79
            
            
              

              Sealed Classes and Class Members (MSDN Extract)  
Classes can be declared as sealed. This is accomplished by putting the keyword 
sealed before the keyword class in the class definition. For example: 
public sealed class D 
{ 
// Class members here. 
} 
A sealed class cannot be used as a base class. For this reason, it cannot also 
be an abstract class. Sealed classes are primarily used to prevent derivation. 
Because they can never be used as a base class, some run-time optimizations can 
make calling sealed class members slightly faster. 
A class member, method, field, property, or event, on a derived class that is 
overriding a virtual member of the base class can declare that member as 
sealed. This negates the virtual aspect of the member for any further derived 
class. This is accomplished by putting the sealed keyword before the override 
keyword in the class member declaration. For example: 
public class D 
{ 
sealed override void MyMethod() {} 
}
          
        
      
          
  

    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