Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / February 2005

Tip: Looking for answers? Try searching our database.

difference between interface and abstract

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
krishna - 20 Feb 2005 16:54 GMT
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
Tim Wilson - 20 Feb 2005 17:25 GMT
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
Bob Powell [MVP] - 21 Feb 2005 08:15 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.