OOP

共1篇文章。

How to call c-tor of base class in C#?

• Development

Today I was consulted with the above question. In a C# program, we don’t have a “MyBase” keyword, however, we have a __base __keyword. A c-tor is a special case, in C#, the syntax is more like C++.

阅读全文… ( 本文约106字,阅读大致需要1分钟 )