I have these Delphi types:
type Color = (Red, Green,Blue);
type Colors = set of Color;
then Colors is used as a property type in other types
I am trying to convert this to C#. My attempt:
public enum Color
{
Red, Green,Blue
}
public class Colors
{
public Color[] CColor;
}
I was wondering if there's a better equivalent way.