Skip to content

Instantly share code, notes, and snippets.

@DominicCronin
Created August 23, 2016 15:04
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/ed2b44767905a8d49ba67fb33b967df8 to your computer and use it in GitHub Desktop.
Save DominicCronin/ed2b44767905a8d49ba67fb33b967df8 to your computer and use it in GitHub Desktop.
for (int i = 0; i < 9999999; i++)
{
try
{
double number = double.Parse(bigArray[i]);
ProcessNumber(number);
}
catch (Exception)
{
DoSomethingElse();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment