如果我运行这个C#代码
int realInt = 3; string foo = "bar"; Int32.TryParse(foo, out realInt); Console.WriteLine(realInt); Console.Read();
我得到0.我想知道为什么!因为我找不到任何理由.这迫使我为每次解析创建临时变量.所以,请!伟大的宇宙编码器,赐教我!
c#
c# ×1