C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Siebel Systems, Visual Soft,

3 7692

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

Visual Soft,

4 5363

Are private class-level variables inherited?

HCL, Siebel Systems, Visual Soft,

5 13092

Describe the accessibility modifier protected internal.

Siebel Systems, Visual Soft,

3 6731

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 7157

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

Hindawi, Siebel, Visual Soft,

4 12426

How?s method overriding different from overloading?

Visual Soft,

2 6160

What does the keyword virtual mean in the method definition?

Ipog Software, Satyam, Visual Soft,

3 10467

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

Mind Tree,

2 9403

Can you override private virtual methods?

AROBS Transilvania Software, IBM, Mind Tree, Revalsys,

11 22684

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

Mind Tree,

2 9303

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

Mind Tree,

2 8205

What?s an abstract clas?

Mind Tree,

5 9172

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 12586

What?s an interface class?

Mind Tree,

5 8406


Post New C Sharp Questions

Un-Answered Questions { C Sharp }

What is writeline?

487


Do loops in c#?

503


What is static classes?

490


Classes and structs can be declared as static, is this statement true or false?

555


Why we use delegates in c#?

502






What is the difference between arraylist and list in c#?

460


What benefit do you get from using a primary interop assembly (pia)?

515


How can you use abstract class and interface?

544


What is a helper method in c#?

482


How do I automate my desktop application?

508


What are the return types in c#?

497


Which is faster abstract class or interface in c#?

544


To create a localized application which namespaces are necessary?

527


Explain a MSIL ? Why is it appreciated by all developers?

592


What is constructors, explain with syntax

553