linear search algorithm c#

96

linear search c# -

Int index = Array.IndexOf(amountOfArrays,guess);
If (index == -1)
{
    // not found
}
else 
{
    // found
}

Comments

Submit
0 Comments