|
-
May 12th, 2009, 03:34 AM
#1
Thread Starter
New Member
What is the Purpose of Interface?
What is the purpose of Interfaces? IMHO, it's just a collection of properties, method and events which can be used over and over again by different classes.
It;s no different than declaring the needed method or property in the classes separately rather than using Interface (because in Interface, you have to write the inner working in each classes implementing the interface). Is there a case where an interface comes in handy (I mean cases where Interfaces are absolutely necessary, without them the program won't work)? thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|