C# and VB.NET's Implements
I understand how to inherit an interface in C#, but how can you change the method name of that interface? What I would like to do is exactly like the implements keyword in VB.NET, if given the VB.NET Class:
Public Class Class1
Implements IDisposable
' The Implements keyword here tells the framework to use the method below for Dispose.
Public Sub TrashIt() Implements System.IDisposable.Dispose
End Sub
' How do you get that to work in C#? Use a strange name for something like this?
Is there anyway to to do that in C#?
John...
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

ssswamiiRank #4,500 · 340 reputationPosted Nov 18, 2003, 12:23 PM EST
john_farrellus62 reputationPosted Nov 19, 2003, 9:56 AM EST
david 0Rank #8,108 · 228 reputationPosted Nov 26, 2003, 2:18 AM EST