C Sharp Interview Questions
Questions Answers Views Company eMail

what is the difference between int and Int32?


5 19467

When static constructor is invoked?


9 7560

When compiler adds a default constructor to a class?


4 3956

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


4 3490

what is output parameter and parameter array?


1 3063

How to throw an caught exception from cath block?


3 3911

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


2 3751

What is marker interface?


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?


3 4723

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


1 5500

Use of Checked and UnChecked operators?


2 4354

What is short circuit logical evaluation?


1 2895

How can we acheive inheritance in VB.NET ?


2 5265

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


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?


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?


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.


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


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


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


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


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


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


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


windows c# using datagridview in edit form sql server


i want the csharp questions&answeres


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.


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(); } } }


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