public enum Color
{
red = 1, orange , yellow, green , blue , cyan , purple
}
string[] strary = Enum.GetNames(typeof(Color));
{
string sww=s;
}
{
string iwww=Enum.Parse(typeof(Color), strary[i]).ToString();
}
public enum Color
{
red = 1, orange , yellow, green , blue , cyan , purple
}
string[] strary = Enum.GetNames(typeof(Color));