C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Siebel Systems, Visual Soft,

3 7650

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

Visual Soft,

4 5310

Are private class-level variables inherited?

HCL, Siebel Systems, Visual Soft,

5 13038

Describe the accessibility modifier protected internal.

Siebel Systems, Visual Soft,

3 6697

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 7112

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

Hindawi, Siebel, Visual Soft,

4 12384

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 9369

Can you override private virtual methods?

AROBS Transilvania Software, IBM, Mind Tree, Revalsys,

11 22530

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 8165

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 12546

What?s an interface class?

Mind Tree,

5 8338


Post New C Sharp Questions

Un-Answered Questions { C Sharp }

Define satellite Assembly?

548


How to rotate an Image in C#?

572


Define constructor in c#.

504


What is typeof undefined?

498


What is activator c#?

470






Is c# used for any core features of windows vista?

510


What is the difference between protected and internal in c#?

452


Is string a class in c#?

465


What is interface inheritance?

527


Is exe is machine dependent?

487


What is null in database?

459


List the two important objects of ado.net and also list the namespaces that are commonly used in ado.net to aid in connection to a database.

515


What is difference between for and foreach in c#?

460


What is getenumerator?

450


What is oledb in c#?

492