Back to list
Views:   0
Replies:  0
Reply 1
In some scenario, you might want to provide a default implementation for your class or if you don't want your derived classes will define their own implementation, then the member will not be declared as abstract.
Vivekananda P, Mar 16, 2011
Reply 2
One of the primary benefit of this is to provide default implementation.  This can be useful in couple of scenarios.  Also, have a look at the Template Method pattern for a simple application of this.
Rajesh Pillai, Mar 16, 2011
Reply 3
public abstract class House
    public void OpenDoor()
        Console.WriteLine("Door opens");

It will not show complie time error. you can use this class as base class of other class
Kamal Gupta, Mar 16, 2011
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas