C Sharp Interview Questions
Questions Answers Views Company eMail

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


1 3838

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 1683

what is the diference between casting and converting?

2 3236

how to handle errors in sqlserver

1 2370

What is the difference between TypeOf and GetType?


3 5721

Why do we use Design Pattern?


1 5424

What is the differnce between Array and Hash Table?

Impetus, TCS,

3 5651

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 6061

Advantages of c# over vb.net?

HCL, Syntel,

3 5156

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


1 2314

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 1873

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


2 3383

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 5040

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


3 3270

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 4440

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

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.


What exactly happens when we debug and build the program?


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


How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!


Where test director stores its data ? Database ,Local file etc...? I need to read this data from Visual Studio 2005 c# client. Regards


code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.


What framework is used for performance testing/load testing?


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


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


how to print invert pyramid in c#


why delegate is type safe?


i want o/p 011242110 in c# code.


what is .NET framework architecture ??


how can one use hcl and c sharp together?


windows c# using datagridview in edit form sql server