public enum eColor
{
discus = 0,
black=1,
red=2
}
public string[] strsColor ={
"七彩",
"黑色",
"大红色"};
public string GetColor(eColor em)
{
return strsColor[(int)em];
}
转载于:https://www.cnblogs.com/oneLight/archive/2011/12/08/2280102.html
public enum eColor
{
discus = 0,
black=1,
red=2
}
public string[] strsColor ={
"七彩",
"黑色",
"大红色"};
public string GetColor(eColor em)
{
return strsColor[(int)em];
}
转载于:https://www.cnblogs.com/oneLight/archive/2011/12/08/2280102.html