using System.Collections.Generic;
using System.Globalization;
public static class ProductType
public const int Products = 1;
public const int Services = 2;
public const int ProductsAndServices = 3;
public const int Good = 4;
public const int Other = 5;
public static void Main()
var ListProductType = new List<(int, string)>
(ProductType.Products, "Products"),
(ProductType.Services, "Services"),
(ProductType.ProductsAndServices, "ProductsAndServices"),
(ProductType.Good, "Good"),
(ProductType.Other, "Other")
Console.WriteLine("Good {0}", string.Join(" | ", ListProductType.Where(c => c.Item2 == "Good").Select(c => c.Item1.ToString())));