D
Daylor
Public Enum COLORS
RED= 0
GREEN=1
BLUD =2
ORANGE =4
End Enum
public sub FooWithColors(enmColor as COLORS )
//here , i want to able to know this in run time :
//1.many colors i have in the enum ? (4)
//2.what is the value for each color (0,1,2,4)
end sub
how can i do that in vb.net ?
thanks and have a nice day.
RED= 0
GREEN=1
BLUD =2
ORANGE =4
End Enum
public sub FooWithColors(enmColor as COLORS )
//here , i want to able to know this in run time :
//1.many colors i have in the enum ? (4)
//2.what is the value for each color (0,1,2,4)
end sub
how can i do that in vb.net ?
thanks and have a nice day.