C#

共 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 分钟 )