Interface & Abstract Class

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I would like to develop an API which provides lot of methods. Out of all the
methods as per the user can override the methods.But I don’t want to override
all the methods.

Can any one suggest in this scenario how I can design my class? Whether I
need to go for an Interface (I think then all my method should be overridden)
or Abstract Class.
Also let me know why?
a API which provides
 
Hello Umeshnath,

I hope that this article http://www.codeproject.com/csharp/abstractsvsinterfaces.asp
helps you to decide where and what to use, because it's hard to know whare
are you app design and which approach is more preferable

U> Hi,
U> I would like to develop an API which provides lot of methods. Out of
U> all the
U> methods as per the user can override the methods.But I don’t want to
U> override
U> all the methods.
U> Can any one suggest in this scenario how I can design my class?
U> Whether I
U> need to go for an Interface (I think then all my method should be
U> overridden)
U> or Abstract Class.
U> Also let me know why?
U> a API which provides
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Back
Top