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