using System.Collections.Generic;
using System.Runtime.InteropServices;
public static void Main(string[]args)
var list = new List<string> { "Côte D'Ivoire (Ivory Coast)".ToUpper() };
var ivory = list.Single(x => x == "CÔTE D'IVOIRE (IVORY COAST)");
Console.WriteLine(ivory ?? "Not found");
Console.WriteLine($"{RuntimeInformation.OSDescription}");