C Sharp Interview Questions
Questions Answers Views Company eMail

what is the difference between int and Int32?

TCS,

5 19467

When static constructor is invoked?

TCS,

9 7560

When compiler adds a default constructor to a class?

TCS,

4 3956




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

TCS,

4 3490

what is output parameter and parameter array?

TCS,

1 3063

How to throw an caught exception from cath block?

TCS,

3 3911

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

TCS,

2 3751

What is marker interface?

TCS,

1 3328




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 14003

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

TCS,

3 4723

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

TCS,

1 5500

Use of Checked and UnChecked operators?

TCS,

2 4354

What is short circuit logical evaluation?

TCS,

1 2895

How can we acheive inheritance in VB.NET ?

TCS,

2 5265

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

TCS,

2 3108


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

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

841


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?

939


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.

1196


update data in an xml file which resides in solution itself, using silverlight 4.0

706


hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks

790






how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge

985


if you do have a stack overflow profile.what is your ranking?

792


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

779


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

732


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

1052


windows c# using datagridview in edit form sql server

2866


i want the csharp questions&answeres

768


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

1250


In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

1154


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

847