摘要:
在说Test-Doer和Try-Parse 前,我觉得应该要先说下一些关于异常的东西。 大家都知道,异常是有性能损失的。但是似乎很多人并不理解异常损失的性能在哪里。 我听见很多声音说,使用try-catch会牺牲性能。希望大家看下下面的代码 static int Test1(int a, int b) { try { if (a > b) ... 阅读全文
posted @ 2007-10-02 16:12
nacarat
阅读(377)
评论(0)
推荐(0)
浙公网安备 33010602011771号