i m very much confused between "abstract" and "interface". can any one
suggest me the different between and which is the best situation to
use the both objects
I am sure different people would have different answers to this question. It
is kind of difficult to know when it is *best* to use one over the other.
Maybe this video will help.
http://msdn.microsoft.com/netframework/programming/classlibraries/inheritancehie
rarchies/

Signature
Tim Wilson
.Net Compact Framework MVP
> i m very much confused between "abstract" and "interface". can any one
> suggest me the different between and which is the best situation to
> use the both objects
An abstract class enables you to create an object that has some of the
implementation in place but forces the derived class to implement certain
methods or propeties in a way that suits their own interpretation.
An interface enforces the contract that specifies the method signatures and
properties that must be provided but does not, and indeed cannot, provide
any implementation code.

Signature
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
>i m very much confused between "abstract" and "interface". can any one
> suggest me the different between and which is the best situation to
> use the both objects