1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-11 17:24:29 +02:00

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

View File

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