Posts

Showing posts with the label abstract

Modifiers in C#

Here are the modifiers with description and where they are applies: Modifier Applies To Description New Function Members The member hides an inherited member with the same signature. Static All members The member does not operate on a specific instance of the class. Virtual Classes and Function members only The members can be overridden by a derived class. Abstract Function members only A virtual member that defines the signature of the members, but doesn’t provide an implementation. Override Function members only Members override inherited virtual or abstract members. Sealed Classes Members override an inherited virtual member, but cannot be overridden by any classes that inherit from this class. Must be used in conjunction with override. Extern Static[dll Import] method...