Keyword meaning in C #

zhaozj2021-02-16  46

Virtual

The member can be rewritten by the subclass.

Override

The member rewrites a member of the same name from a base class, the symbol is the same. Base class members must be defined as Virtual, Abstract, or Override.

Abstract This member is an abstract member and must be implemented by a subclass.

EXTERN This member is executed in an external assembly.

转载请注明原文地址:https://www.9cbs.com/read-20739.html

New Post(0)