Programming is Not Rocket Science, Don't let AI Write Your Code (or Essays), Fight Back. If you must use AI, find provenance, and Attribute. GNU/Linux never loses relevance. AI makes it more powerful. C++ is Back.
Tuesday, 24 April 2018
Calling a Base Class Constructor in C#
To call a base class constructor in a derived class in C#, define the constructor in the subclass and use the syntax :base after the signature to invoke the base class constructor.
No comments:
Post a Comment