Abstract Class FACTS

Abstract Class FACTS

1) We can inherit abstract class from another abstract class also.


public abstract class AbstractClass1

public abstract string TestMe();       


 It is inherited by AbstractClass2 

public abstract class AbstractClass2 : AbstractClass1

public abstract string DoSome();

public override string TestMe()


return “This is test”;



2) Abstract class can inherit Interface also.


Leave a comment

Filed under .Net, C#

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s