Ejemplo n.º 1
0
        private static void DutchCultures(CultureInfoRepository.CultureInfoRepository cir)
        {
            Console.WriteLine("-----DUTCH (all)------");
            var cis = cir.CultureInfos.Where(c => c.EnglishName.ToLower().StartsWith("dutch"));

            foreach (var ci in cis)
            {
                WriteInfo(ci);
            }
        }
Ejemplo n.º 2
0
        private static void Main(string[] args)
        {
            var cir = new CultureInfoRepository.CultureInfoRepository();

            Console.WriteLine("---Just Dutch (nl)----");
            WriteInfo(cir.CultureInfos.First((c) => c.Name == "nl"));
            Console.WriteLine("---Just English (en)----");
            WriteInfo(cir.CultureInfos.First((c) => c.Name == "en"));
            DutchCultures(cir);
            EnglishCultures(cir);

            Console.ReadLine();
        }