Skip to content

Instantly share code, notes, and snippets.

@DominicCronin
Created August 23, 2016 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DominicCronin/deea56a560ddde542bb108877e012c10 to your computer and use it in GitHub Desktop.
Save DominicCronin/deea56a560ddde542bb108877e012c10 to your computer and use it in GitHub Desktop.
for (int i = 0; i < 9999999; i++)
{
double number = null;
if( double.TryParse(bigArray[i], out number)
{
ProcessNumber(number);
}
else
{
DoSomethingElse();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment