How do you inherit a class into other class in C#?
Colon is used as inheritance operator in C#. Just place a colon and then the class name.
Example: public class DerivedClass : BaseClass
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Colon is used as inheritance operator in C#. Just place a colon and then the class name.
Example: public class DerivedClass : BaseClass
need an explanation for this answer? contact us directly to get an explanation for this answer