static void Main(string[] args) { Class1.EQReply reply = Class1.EQReply.MessageCount; string x = StringEnumerator<Class1.EQReply>.ToString(reply); //Console.WriteLine(reply.ToString()); Console.WriteLine(x); Console.ReadLine(); }
Class1.EQReply reply = Class1.EQReply.MessageCount; string x = StringEnumerator<Class1.EQReply>.ToString(reply); //Console.WriteLine(reply.ToString()); Console.WriteLine(x); Console.ReadLine();
public enum EQReply { [Description("APIDRIVER")] ApiDriver, [Description("MSGCOUNT")] MessageCount, }
[Description("APIDRIVER")] ApiDriver, [Description("MSGCOUNT")] MessageCount,