Click here to Skip to main content
15,894,896 members
Please Sign up or sign in to vote.
1.00/5 (5 votes)
See more:
How you will implement multiple interface, give an example.
Posted
Updated 7-Nov-11 11:12am
v3
Comments
Sergey Alexandrovich Kryukov 7-Nov-11 17:13pm    
Type fixed. Start from using spell checker -- this is simple politeness. As to politeness... (sigh)...
--SA

Just put the interfaces one after another with a comma, then you can right click in Visual Studio and select Implement Interface which will give your the methods you have to write.

C#
public class SomeClass : Interface1, Interface2 
{
...
}
 
Share this answer
 
Take a look at the following article
Explicit Interface Implementation Tutorial[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900