How do you inherit from a class in C#?

Answer Posted / guest

Place a colon and then the name of the base class. Notice
that it?s double colon in C++.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you read 3rd line from a text file?

523


How can you access a private method of a class?

503


How many types of variables are there in c#?

521


I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?

542


Why do we need dependency injection in c#?

457






How do I do a case-insensitive string comparison?

511


How many dimensions can an array have?

462


Does unity use c++ or c#?

483


if a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?

517


What is difference between mutable and immutable in c#?

445


What is pure abstract class in c#?

449


Why do we need indexers in c#?

468


What is returned if you pass the value 12.34 to the parsefloat () function?

518


What is the use of parse in c#?

450


What is indexer c#?

460