[.net] Convert Enum to String

This would work too.

    List<string> names = Enum.GetNames(typeof(MyEnum)).ToList();