A
Alejandro Lapeyre
In VB I can define an Enum inside an interface
Public Interface ITest
Sub a()
Enum MyEnum
kk = 1
End Enum
End Interface
When I try to do the same in C# the complier complains : "myEnum": las
interfaces no pueden declarar tipos.
public interface ITest
{
void a();
public enum myEnum
{
kk = 1
}
}
I can view the VB file with Lutz Roeder's .NET Reflector
Can this be done in C# ?
How can VB do this?
Best regards,
Alejandro Lapeyre
Public Interface ITest
Sub a()
Enum MyEnum
kk = 1
End Enum
End Interface
When I try to do the same in C# the complier complains : "myEnum": las
interfaces no pueden declarar tipos.
public interface ITest
{
void a();
public enum myEnum
{
kk = 1
}
}
I can view the VB file with Lutz Roeder's .NET Reflector
Can this be done in C# ?
How can VB do this?
Best regards,
Alejandro Lapeyre