C# Interview Questions and Answers for Freshers - 2

Question: 6

Is C# an object oriented language?

Yes. C# provides language support for the so called “Three Pillars of Object Oriented Programming” : encapsulation, polymorphism and inheritance.

Question: 7

How do you inherit from a class in C#?

Place a colon and then the name of the base class.

Question: 8

What is an interface class?

It is an abstract class with public abstract methods all of which must be implemented in the inherited classes.

Question: 9

Can you use pointers in C#?

Yes indeed.

Question: 10

Define naming convention?

Naming conventions are simply agreed upon standards for how elements will be named in a program.

Related Questions