C Sharp Interview Questions
Questions Answers Views Company eMail

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

Syntel,

1 4874

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 2787

what is the diference between casting and converting?

2 4474

how to handle errors in sqlserver

1 3295

What is the difference between TypeOf and GetType?

Syntel,

4 8700

Why do we use Design Pattern?

Impetus,

1 6485

What is the differnce between Array and Hash Table?

Impetus, TCS,

3 7141

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 9358

Advantages of c# over vb.net?

HCL, Syntel,

3 7950

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

Philips,

1 3276

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 2811

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

pspl,

2 4625

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 7316

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

TCS,

3 5019

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 6643


Post New C Sharp Questions

Un-Answered Questions { C Sharp }

Is c and c# the same?

492


What is difference between function and method in c#?

455


How is lazy loading achieved?

488


Overloaded constructor will call default constructor internally?

553


Why References are stored on heap and variables on stack?

493






what is difference between is and as operators in c#?

527


What is the difference between an integer and int?

470


What are the types of serialization?

501


Does a loop recorder have to be removed?

585


What are types of constructor?

465


What is an object and a class?

545


List the fundamental oop concepts?

510


What is the resgen.exe tool used for?

516


What is the meaning of extention?

476


What is entity framework c#?

451