0

Possible Duplicates:
Interface vs Abstract Class (general OO)
Exact use of Abstract class

I've been doing .Net development for some time. I know theory of abstract class and diff between abstract class and interface. But, I never come across real life situation to use it. Can anyone help me with that? Code example would be greatly appreciated. No theory explanation please.

Community
  • 1
  • 1
gmail user
  • 2,669
  • 4
  • 32
  • 42
  • 2
    Did you search before posting this? There are plenty of other existing questions asking exactly the same question. – thecoop Mar 07 '11 at 15:13
  • http://msdn.microsoft.com/en-us/library/sf985hc5.aspx – Jaroslav Jandek Mar 07 '11 at 15:14
  • Yes, I did. But, didn't find satisfactory answer. If you know, please post the URL. – gmail user Mar 07 '11 at 15:14
  • 1
    There are a lot of abstract classes in the .net framework that you use daily. Examples are `System.Page`, `System.Stream` and `System.Xml.XmlNode`. If you understand the theory, you can think about why this should be abstract classes. – Elian Ebbing Mar 07 '11 at 15:20

0 Answers0