C Sharp Interview Questions
Questions Answers Views Company eMail

Why use “using” in c#?

640

Do we get an error while executing the “finally” block in c#?

619

How does it work?

619

What are the differences between static, public and void in c#?

676

What is the difference between dynamic type variables and object type variables in c#?

589

What is multicast delegate in c# ?

655

What is dynamic dispatch?

646

Differentiate between static class and singleton instance?

628

Explain hash table in c# ?

774

How to move to a state-related codebase?

1042

What is the gac, and where is it located?

1 940

Name any three ways to pass parameters to a method in c#?

602

What is the difference between “dispose” and “finalize” variables in c#?

593

What are accessors?

627

Differentiate between object pooling and connection pooling in c#?

673


Post New C Sharp Questions

Un-Answered Questions { C Sharp }

Write a C# program to find the Factorial of n

658


How can you force derived classes to provide new method implementations for virtual methods?

586


You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?

603


Can properties be static in c#?

661


What is lastindexof c#?

593






Why do we need abstract class?

584


What is xamarin used for?

623


Is string mutable in c#?

581


What is the difference between returning iqueryable vs ienumerable?

576


Write the syntax for catching an exception in c#?

593


What is difference between ienumerable and iqueryable in c#?

597


What is option parameter in C#?

650


Do extension methods have to be static?

645


Explain Direct CAST vs CType ?

662


What's the difference between system.string and system.text.stringbuilder classes?

633