摘要:
C#中的using除了作为命名空间指示符(using System),类型的别名指示符(using Dos=System.Console),还有资源管理的语句功能:using (R r1 = new R ()) { r1.F();}在C#中被翻译为:R r1 = new R();try { r1.F();}finally { if (r1 != null) ((IDisposable)... 阅读全文
posted @ 2007-01-19 00:08
aken
阅读(726)
评论(0)
推荐(0)
浙公网安备 33010602011771号