C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Siebel Systems, Visual Soft,

3 7653

When you inherit a protected class-level variable, who is it available to?

Visual Soft,

4 5311

Are private class-level variables inherited?

HCL, Siebel Systems, Visual Soft,

5 13043

Describe the accessibility modifier protected internal.

Siebel Systems, Visual Soft,

3 6700

C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?

Visual Soft,

3 7114

What?s the top .NET class that everything is derived from?

Hindawi, Siebel, Visual Soft,

4 12385

How?s method overriding different from overloading?

Visual Soft,

2 6142

What does the keyword virtual mean in the method definition?

Ipog Software, Satyam, Visual Soft,

3 10425

Can you declare the override method static while the original method is non-static?

Mind Tree,

2 9370

Can you override private virtual methods?

AROBS Transilvania Software, IBM, Mind Tree, Revalsys,

11 22540

Can you prevent your class from being inherited and becoming a base class for some other classes?

Mind Tree,

2 9275

Can you allow class to be inherited, but prevent the method from being over-ridden?

Mind Tree,

2 8168

What?s an abstract clas?

Mind Tree,

5 9121

When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?

Mind Tree,

2 12548

What?s an interface class?

Mind Tree,

5 8340


Post New C Sharp Questions

Un-Answered Questions { C Sharp }

Is it possible to force garbage collector to run?

476


Describe two uses of the “using” statement during the operation of c#?

541


What is a custom attribute?

473


What does dbml stand for?

542


Define multicast c# delegate?

552






What are sorted lists?

492


What does exclamation mark mean c#?

530


Explain how can you clean up objects holding resources from within the code?

465


How many digits are in an integer?

467


What is the diff between System.String and System.Text.StringBuilder classes?

521


Which programming language is best for desktop applications?

448


What is AutoMapper in C#?

572


What is entity framework c#?

451


What is a protected class in c#?

482


What is alias in c#?

524