Wokawidget
Feb 2nd, 2006, 03:08 PM
VB.NET
Public Interface Woof
Public Function Msg As String
End Interface
Public Class User
Implements Woof
Public Function Status() As String Handles Woof.Msg
Return "Not good!"
End Function
In c# I have:
public interface iDisplayObjects
{
IEnumerator GetEnumerator();
}
then
public class Users: iDisplayObjects
{
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?
Woof
Public Interface Woof
Public Function Msg As String
End Interface
Public Class User
Implements Woof
Public Function Status() As String Handles Woof.Msg
Return "Not good!"
End Function
In c# I have:
public interface iDisplayObjects
{
IEnumerator GetEnumerator();
}
then
public class Users: iDisplayObjects
{
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?
Woof