C# check many strings quickly
isDifferent = false;
if (stringsWeAreComparingAgainst[x].Length != stringsWeWantToSeeIfMatches[x].Length)
{
isDifferent = true;
continue;
}
else
{
for (int y = 0; y < stringsWeWantToSeeIfMatches[x].Length; y++)
{
if (char.ToUpperInvariant(stringsWeWantToSeeIfMatches[x][y]) != char.ToUpperInvariant(stringsWeAreComparingAgainst[x][y]))
{
isDifferent = true;
break;
}
}
if (!isDifferent)
numberOfMatches += 1;
}
Also in C#:
- C# int to hex
- unity c# get bool from another script
- how to load the active scene unity
- sum of digits in c#
- how to import datagridview to datatable in c#
- how to convert int to string unity c#
- how to reduce garbage collection c#
- stroke dash array wpf
- whats a string
- Check object is in layermask unity
- rotatearound unity
- how to sort string array alphabetically in c#
- c# remove specific character from string
- csharp first element of array
- ubuntu: how to open the terminal from c#
- ihttpactionresult to object c#
- unity enum
- unity find gameobject with layer
- button color uwp c#
- c# find element in list of list
- how to get array of children transform
- How to set an expiry date on a program
- c# find duplicates in list
- pass parameter to thread c#