what is 'this' constructor, what is it for

前端 未结 4 993
臣服心动
臣服心动 2020-11-30 15:43

I\'m in the learning process and I have a question I havent been able to find a satisfactory answer for.

this I need a rundown on it. I keep seeing it a

4条回答
  •  时光说笑
    2020-11-30 16:23

    The this keyword refers to the current instance of the class and is also used as a modifier of the first parameter of an extension method.

    See this: http://msdn.microsoft.com/en-us/library/vstudio/dk1507sz(v=vs.120).aspx

提交回复
热议问题