Skip to content

Instantly share code, notes, and snippets.

@tugberkugurlu
Last active August 29, 2015 14:03
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 tugberkugurlu/164ea5fbcb3cdde3b660 to your computer and use it in GitHub Desktop.
Save tugberkugurlu/164ea5fbcb3cdde3b660 to your computer and use it in GitHub Desktop.
const string num = "648634";
if (num.All(ch => char.IsDigit(ch)))
{
int parsedVal = 0;
for (var i = 0; i < num.Length; i++)
{
int foo = 10 ^ (num.Length - i);
// ??
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment