C Sharp Interview Questions
Questions Answers Views Company eMail

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

Syntel,

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?

Syntel,

3 5174

Why do we use Design Pattern?

Impetus,

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.

Philips,

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

pspl,

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

CTS,

4 4786

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

TCS,

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?

TCS,

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.

2963


2. What happened when BO object has been called?

774


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?

901


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

762


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

794






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

738


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??

804


What exactly happens when we debug and build the program?

1286


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

937


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.

1800


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

964


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.

1145


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!!!

14026


What framework is used for performance testing/load testing?

763


what is .NET framework architecture ??

776