VB.NET
Code:Public Interface Woof Public Function Msg As String End InterfaceIn c# I have:Code:Public Class User Implements Woof Public Function Status() As String Handles Woof.Msg Return "Not good!" End Function
thenCode:public interface iDisplayObjects { IEnumerator GetEnumerator(); }
I have a function in the Users class called GetEnumerator already, how can I make this function to be ALSO the interface function like in my vb example above?Code:public class Users: iDisplayObjects {
Woof


Reply With Quote

