Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

linear search c#


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

Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #linear #search
ADD COMMENT
Topic
Name
1+4 =