Type tp = typeof(EnumCd);
int cd;
foreach (string item in Enum.GetNames(tp))
{
cd = (int)Enum.Parse(tp, item);
}
Type tp = typeof(EnumCd);
int cd;
foreach (string item in Enum.GetNames(tp))
{
cd = (int)Enum.Parse(tp, item);
}