I am searching a solution to get the complete String of an enum.
Example:
Public Enum Color { Red = 1, Blue = 2 } Color color = Color.Red; /
I have no idea if this is the best way, but it works:
string colorString = string.Format("{0}.{1}", color.GetType().FullName, color.ToString())