C Sharp Interview Questions
Questions Answers Views Company eMail

What is the use of the static constructor? When static constructor gets compiled?


1 3692

One start and stop button is there and one textbox is there.when you click start button ,it will display 1,2,3......up to infinite in textbox.when you click stop button it will stop.

1 1531

what is the diference between casting and converting?

2 3028

how to handle errors in sqlserver

1 2211

What is the difference between TypeOf and GetType?


3 5174

Why do we use Design Pattern?


1 5236

What is the differnce between Array and Hash Table?

Impetus, TCS,

3 5478

If I have code like try { return; } catch { return; } finally { return; } from which block will the value will be returned. and try has been executed without any error.

Cap Gemini,

6 5615

Advantages of c# over vb.net?

Syntel, HCL,

3 4750

To compute the monthly, half-yearly and annual sales made by all the salesmen of a company.


1 2177

Using system; class main { public static void Main() { int a = 1; for (int i = 0; i < 10; i++) { int j = a * 5; Console.WriteLine(a + "*5=" + j); a++; } Console.ReadLine(); } }

1 1719

how can your software identify which version of dot net framework install in client pc and install framework accordingly


2 3217

In c#.Net Application For DataGridview binding which method is faster in below two case?Why..? 1)looping-Using For loop 2)Databinding direct using Dataset


4 4786

How will U encapsulate button trigger event into text_box event of Pressing Enter key?


3 3059

How will U encapsulate button trigger event into text_box event of Pressing Enter key?i.e only after pressing Enter after the text is typed the button trigger event should activate?


6 4229

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

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.


2. What happened when BO object has been called?


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?


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


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


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


I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??


What exactly happens when we debug and build the program?


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


These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.


In gridview in editmode if we want to display information in one combobox based on


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.


Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!


What framework is used for performance testing/load testing?


what is .NET framework architecture ??