Q:

How do you inherit a class into other class in C#?

0

How do you inherit a class into other class in C#?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

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

total answers (1)

Top 100 C# interview questions and answers 2022

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What is the difference between is and as operators... >>
<< What is generics in C#.NET?...