Re: [DOTNET] explicit interface methods

2002-04-12 Thread Ethan Smith
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 12, 2002 2:16 PM Subject: Re: [DOTNET] explicit interface methods > There is no performance difference. The main advantage is that you do not > dirty the public interfaces of your class. Also, if you have two interfaces > tha

Re: [DOTNET] explicit interface methods

2002-04-11 Thread Nick Wienholt
IL PROTECTED]> Sent: Friday, April 12, 2002 2:16 PM Subject: Re: [DOTNET] explicit interface methods > There is no performance difference. The main advantage is that you do not > dirty the public interfaces of your class. Also, if you have two interfaces > that have the same me

Re: [DOTNET] explicit interface methods

2002-04-11 Thread Peter Stephens
There is no performance difference. The main advantage is that you do not dirty the public interfaces of your class. Also, if you have two interfaces that have the same method signature and you want two different implementations then you will have to use explicit implementation. Also note that yo

[DOTNET] explicit interface methods

2002-04-11 Thread Ethan Smith
Hi all, When calling a method through an interface reference, is there any functional or performance difference between having that implementation being a public method, or an explicit interface method that calls the public method? E.g.: Interface Foo{ void Bar(); } public class Baz :