Sealed Class Sealed class is a special kind of class in C# which is used to prevent the inheritance to next level. Any class with sealed keyword cannot be derived to any subclass. We will get a compile error if we try to define base class as sealed class. sealed class A { } class B: A { } //CompileError In the above example if we see, Class B tries to inherit from class A which is sealed. We will get a compiler error. Now if we move the sealed keyword from Class A to Class B and try to inherit from class B we will get a compile error ( 'C': cannot derive from sealed type 'B' ). class A { } sealed class B: A { } class C : B { } //Compile Error Below code should be fine, as Sealed class should be the last in the inheritance hierarchy. class A { } class B : A { } sealed class C : B { } Sealed and Abstract modifiers cannot be used together as Abstract Class has to provide the functionality and Sealed will prevent that. Sealed class cannot
How to attach an Email to another Email in Outlook Sometimes you want to attach an email to another email as proof to your current mail, in this situation you just cant copy and paste the mail chain in the mail body. Lets see the correct way of doing that. Click on new mail, new window will be opened/Reply to the existing mail In the tool bar click on message tab, under it you will find attach file, attach item, signature etc. Click on attach item, from the drop down menu select Outlook item. A dialog box will appear, in that browse and select the mail which you want to attach. You can even attach business card, for that in 3rd step select attach Business Card instead of Outlook item.