using System;
using System.Linq;
public class Test
{
public static void Main()
{
var values = Enum.GetNames(typeof(VehicleData))
.Cast<string>()
.Select(x => x.ToString())
.ToArray();
foreach(var val in values)
Console.WriteLine(val);
}
}
public enum VehicleData
{
Dodge = 15001,
BMW = 15002,
Toyota = 15003
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uTGlucTsKCnB1YmxpYyBjbGFzcyBUZXN0CnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKCXsKCSAgICB2YXIgdmFsdWVzID0gRW51bS5HZXROYW1lcyh0eXBlb2YoVmVoaWNsZURhdGEpKQoJICAgICAgICAuQ2FzdDxzdHJpbmc+KCkKICAgICAgICAgICAgLlNlbGVjdCh4ID0+IHguVG9TdHJpbmcoKSkKICAgICAgICAgICAgLlRvQXJyYXkoKTsKICAgICAgICBmb3JlYWNoKHZhciB2YWwgaW4gdmFsdWVzKQogICAgICAgICAgICBDb25zb2xlLldyaXRlTGluZSh2YWwpOwoJfQp9CgoJcHVibGljIGVudW0gVmVoaWNsZURhdGEKewogICAgRG9kZ2UgPSAxNTAwMSwKICAgIEJNVyA9IDE1MDAyLAogICAgVG95b3RhID0gMTUwMDMgICAgICAgIAp9