Interfaces are used to define the peripheral abilities of a class. An abstract class defines the core identity of a class and there it is used for objects of the same type.
An interface cannot have access modifiers for the functions and properties everything is assumed as public. An abstract class can contain access modifiers for the functions and properties. An interface cannot provide any code, just the signature. An abstract class can provide complete, default code and/or just the details that have to be overridden. On Mon, Mar 8, 2010 at 12:34 AM, crazy <[email protected]> wrote: > Hi, > I gone through a lots of articles regarding Abstarct class and > Interfaces.. > What is the extra thing in interface but not in Abstract? Not in the C# > conepts whole in OOPS. > why we cant use abstarct classes instead of Interfaces ? > in C# , if we need to implement multiple inheritance,we can use it > anything extra?? > > thanks > -- > "People who never make mistakes, never do anything." > > dEv >
