Friday, October 3, 2008
Virtual method has an implementation & provide the derived class with the option of overriding it
Abstract method does not provide an implementation & forces the derived class to override the method
When an abstract class inherits a virtual method from a base class, the abstract class can override the virtual method with an abstract method
If a virtual method is declared abstract, it is still virtual to any class inheriting from the abstract class
Also Read other Top Articles
- JSON Serialization in VS 2008
- Implementing Forms Authentication in Silverlight Application.
- Making GridView Rows or Individual Cells Clickable and Selectable.
- Enabling browser back button for GridView Paging and Sorting in Ajax 1.1 and 3.5 (using Visual Studio 2005/ Visual studio 2008)
- How to pass values from User Control to Page or calling Page methods from User Control.
- What is WCF?
- New features in C# 4.0
- C# to VB.NET and VB.NET to C# online free converter tools.