摘要:在C#中this用来指代当前对象,用于当成员函数中的形参名跟成员变量名一致时,进行区分。 但this不仅仅只有这一作用,this还可以如下这样用:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-- 1 class class1 2 { 3 priv...
阅读全文
posted @ 2010-02-21 00:18
浙公网安备 33010602011771号