Sequential (Linear) Search in C#: IndexOf and a Generic Version
Find a value in an unsorted array or list in C# with IndexOf, FindIndex or your own generic linear search, and why the old sentinel trick is a bug.
Find a value in an unsorted array or list in C# with IndexOf, FindIndex or your own generic linear search, and why the old sentinel trick is a bug.