[Solved] List.IndexOf(x) : Error => No overload for method ‘IndexOf’ takes 1 arguments in c# [closed]
Do not confuse the static methods in the Array Class that must be used in conjunction with arrays and the instance methods of the List<T> Class. var array = new string[] { “a”, “b”, “;”, “,” }; int i = Array.IndexOf(array, “;”); var list = new List<string> { “a”, “b”, “;”, “,” }; int j … Read more