次のコードスニペットがあります
string[] lines = objects.Split(new string[] { "\r\n", "\n" }, StringSplitOptions.None);
//convert the array into a list for easier comparison
List<string> StringtoList = lines.OfType<string>().ToList();
//get the database list here
List<string> sensitiveApps = testConnection.SelectSensitive();
//compare the 2 lists to get the difference
List<string> except = sensitiveApps.Except(StringtoList,StringComparer.OrdinalIgnoreCase);
ただし、上記のエラーが引き続き発生します。誰かが私を正しい方向に向けることができますか?