[.net] C# inheritance

Started by
1 comment, last by Calin 18 years ago
How can I override a function from the inherited class without making it abstract? I want a function definition in both my base and derived classes.

My project`s facebook page is “DreamLand Page”

Advertisement
Mark the base class's method "virtual". You can then mark the derived class's implementation as "override" and still call the base class implementation using "base.MethodName()".
-janoside [Firestorm Engine]
Thanks!

My project`s facebook page is “DreamLand Page”

This topic is closed to new replies.

Advertisement