public enum SubjectEnum
{
language=1,
math=2,
english=3,
physics=4,
chemistry=5,
geography=6,
biology=7,
history=8,
politics=9,
}
public string GetEnumNameByKey(int key)
{
return Enum.GetName(typeof( SubjectEnum ), key);}