.Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - More.Net Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 30th, 2003, 06:51 PM
JessJenn's Avatar
JessJenn JessJenn is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 133 JessJenn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 49 sec
Reputation Power: 7
Cool C# Basic Interface question

I'm just starting to learn about interfaces in C# and I have a question. From what I read, the technique of multiple inheritance can be emulated through interfaces. I know how to create an interface. What I'm having trouble with is this. Let's say I have two different classes with methods already defined in them. I use those two different classes from time to time and they work well. They are base classes and are not being inherited from anywhere else (though they could be). Now I want to create another new class, and inherit both of those methods in this new class. Can that be done some how through interfaces? Thanks!

Reply With Quote
  #2  
Old August 31st, 2003, 11:26 PM
Memnoch1207 Memnoch1207 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 67 Memnoch1207 User rank is Sergeant (500 - 2000 Reputation Level)Memnoch1207 User rank is Sergeant (500 - 2000 Reputation Level)Memnoch1207 User rank is Sergeant (500 - 2000 Reputation Level)Memnoch1207 User rank is Sergeant (500 - 2000 Reputation Level)Memnoch1207 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 19 h 10 m 47 sec
Reputation Power: 14
Here is a better understanding of C# Interfaces.
__________________
Being educated does not make you intelligent

Reply With Quote
  #3  
Old September 1st, 2003, 11:21 AM
JessJenn's Avatar
JessJenn JessJenn is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 133 JessJenn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 49 sec
Reputation Power: 7
Thanks for your response. However, I've already seen that page and it doesn't answer my original question.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > C# Basic Interface question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT