摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;//自己的总结://(1)当成员抛出异常时对性能的影响是指数级//(2)不要因异常可能对性能造成负面影响而使用错误码//(3)提高性能可以使用Tester-Doer模式或Try-Parse模式//(4)异常是向上传递,层层上抛,我们可以在每个子方面中thow具体异常并附加更多信息,在主方面中捕获这些异常.using System.Runtime.Serialization;namespace Exce 阅读全文
posted @ 2013-02-07 15:14 焦涛 阅读(1029) 评论(0) 推荐(1)