Hi there,
I am wondering when i had a class that extends an interface (currently in my
interface i only had methods), but should i also extend Struct, Enum or even
P/Invoke methods?
If it can, how do i code struct or enum or p/invoke in an interface???
just say my struct is:
[StructLayout(LayoutKind.Sequential)]
public struct TestA
{
public byte ab;
public byte[] bc;
}
public enum TestB : Byte
{
num1 = 0,
num2 = 10
};
[DllImport("somedll.dll")]
public static extern int TestC();
Any idea, please?
Thanks.
--
Regards,
Chua Wen Ching :)