C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Siebel Systems, Visual Soft,

3 7684

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

Visual Soft,

4 5352

Are private class-level variables inherited?

HCL, Siebel Systems, Visual Soft,

5 13077

Describe the accessibility modifier protected internal.

Siebel Systems, Visual Soft,

3 6729

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 7141

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

Hindawi, Siebel, Visual Soft,

4 12420

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 10458

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

Mind Tree,

2 9401

Can you override private virtual methods?

AROBS Transilvania Software, IBM, Mind Tree, Revalsys,

11 22667

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

Mind Tree,

2 9299

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

Mind Tree,

2 8196

What?s an abstract clas?

Mind Tree,

5 9169

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 12582

What?s an interface class?

Mind Tree,

5 8391


Post New C Sharp Questions

Un-Answered Questions { C Sharp }

What's the difference between a method and a procedure?

483


What are native functions?

472


How is a strongly-named assembly different from one that isn’t strongly-named?

609


What is asp net c#?

498


What are the Types of optimization and name a few and how do u do?

526






What does || mean in programming?

500


Can we override interface methods in c#?

477


What is difference between association, aggregation and inheritance relationships?

496


Can main method be final?

472


What is the difference between c and c sharp?

546


What is the difference between “constant” and “readonly” variables in c#?

503


Is std :: string null terminated?

492


What is the difference between final finally and finalize in c#?

449


Why can't we use a static class instead of singleton?

451


What is the use of static in c#?

493