c# does List<string> contain key code example Example: list contains type c# if (within.OfType().Any())