C Sharp Interview Questions
Questions Answers Views Company eMail

what is the difference between int and Int32?

TCS,

5 19555

When static constructor is invoked?

TCS,

9 7623

When compiler adds a default constructor to a class?

TCS,

4 3980




what is the difference between passing a value object by reference and a reference object by value?

TCS,

4 3527

what is output parameter and parameter array?

TCS,

1 3081

How to throw an caught exception from cath block?

TCS,

3 3927

Did it possible to cast a generic type of derived class to generic type of base class?

TCS,

2 3775

What is marker interface?

TCS,

1 3347




Is it possible to implement an interface to a structure? Is it possible to extend a struct? Is it possible to inherit a class to struct?

IBM, TCS, Logica CMG,

9 14147

What is the use of "default" and "Using" keyword?

TCS,

3 4744

Difference between direct type casting and using "as" keyword?

TCS,

1 5516

Use of Checked and UnChecked operators?

TCS,

2 4374

What is short circuit logical evaluation?

TCS,

1 2911

How can we acheive inheritance in VB.NET ?

TCS,

2 5305

If we inherit a class do the private variables also get inherited ?

TCS,

2 3131


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

i want the csharp questions&answeres

778


What framework is used for performance testing/load testing?

821


what is collections in .net? why we use?

965


how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com

866


write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

1201






What exactly happens when we debug and build the program?

1355


Hello! How to do this: "Create manifest utility intended for creating update content files. Application should take a set of files as input parameter and generate XML based manifest file as output one." I use C# and vs.net 2003. It's urgent! Help please, thanks. Mayana

828


4. Describe the process when we send a request URL? And who is responsible for that?

879


if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.

1215


There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?

952


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

849


Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.

3022


hi all.... i need code snippets for store and retrive tiff fromat images in sqlserver....... kindy provide it.......

745


explain the nature of the assembly work?

1405


how can one use hcl and c sharp together?

896