C Sharp Interview Questions
Questions Answers Views Company eMail

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

5 12327

Can you override private virtual methods?

5 6247

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

5 6196

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

1 3938

What?s an abstract class?

NIIT,

4 6587

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

1 4247

What?s an interface class?

4 5073

Why can?t you specify the accessibility modifier for methods inside the interface?

2 4288

Can you inherit multiple interfaces?

3 5158

What?s the difference between an interface and abstract class?

4 5692

How can you overload a method?

3 4359

What?s the difference between System.String and System.StringBuilder classes?

3 5670

What?s the advantage of using System.Text.StringBuilder over System.String?

1 3868

Can you store multiple data types in System.Array?

7 12991

What?s the difference between the System.Array.CopyTo() and System.Array.Clone()?

3 6918


Post New C Sharp Questions

Un-Answered Questions { C Sharp }

Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?

466


What is static void main in c#?

475


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

479


What is the difference between firstordefault and first?

457


What is args c#?

516






Explain About .NET Framework

508


What is tpl in c#?

471


Is exe is machine dependent?

480


What is type cast in C#?

555


Why do we use constructors in c#?

551


Difference between value and reference type.

493


What are the fundamental differences between value types and reference types?

527


Contrast System.String and System.Text.StringBuilder classes?

505


what is IComparable

532


Write a sample code to write the contents to text file in c#?

465