468,768 Members | 1,673 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,768 developers. It's quick & easy.

Placing Structs and Enums in Interface - should i?

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:

public struct TestA
public byte ab;
public byte[] bc;

public enum TestB : Byte
num1 = 0,
num2 = 10

public static extern int TestC();

Any idea, please?

Chua Wen Ching :)
Nov 16 '05 #1
0 958

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by SpaceCowboy | last post: by
4 posts views Thread by news.microsoft.com | last post: by
17 posts views Thread by Johan Tibell | last post: by
13 posts views Thread by Bob | last post: by
29 posts views Thread by Dom | last post: by
1 post views Thread by DaTurk | last post: by
16 posts views Thread by andreyvul | last post: by
24 posts views Thread by Alexander Mahone | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.