Merge pull request #623 from discomethod/patch-1

C# - minor typo
This commit is contained in:
Levi Bostian 2014-05-26 12:33:10 -05:00
commit 25dbc80b2d

View File

@ -307,7 +307,7 @@ on a new line! ""Wow!"", the masses cried";
// try parse will default to type default on failure // try parse will default to type default on failure
// in this case: 0 // in this case: 0
int tryInt; int tryInt;
if (int.TryParse("123", out tryInt)) // Funciton is boolean if (int.TryParse("123", out tryInt)) // Function is boolean
Console.WriteLine(tryInt); // 123 Console.WriteLine(tryInt); // 123
// Convert Integer To String // Convert Integer To String