C Sharp Interview Questions
Questions Answers Views Company eMail

what is the difference between int and Int32?

TCS,

5 19136

When static constructor is invoked?

TCS,

9 7386

When compiler adds a default constructor to a class?

TCS,

4 3864




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

TCS,

4 3399

what is output parameter and parameter array?

TCS,

1 2983

How to throw an caught exception from cath block?

TCS,

3 3818

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

TCS,

2 3666

What is marker interface?

TCS,

1 3258




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 13556

What is the use of "default" and "Using" keyword?

TCS,

3 4635

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

TCS,

1 5429

Use of Checked and UnChecked operators?

TCS,

2 4274

What is short circuit logical evaluation?

TCS,

1 2819

How can we acheive inheritance in VB.NET ?

TCS,

2 5185

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

TCS,

2 2993


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?

794


What framework is used for performance testing/load testing?

763


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

679


4. Describe the process when we send a request URL? And who is responsible for that?

802


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

658






what is main function of alternate teamplate of datalist?

790


What exactly happens when we debug and build the program?

1286


What exactly happens when we debug and build the program?

1388


what will be the output of the given below coding. using System; public class Exercise { static void OddNumbers(int a) { if (a >= 1) { Console.Write("{0}, ", a); a -= 2; OddNumbers(a); } } public static int Main() { const int Number = 9; Console.WriteLine("Odd Numbers"); OddNumbers(Number); Console.WriteLine(); return 0; } }

1969


why delegate is type safe?

1839


how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used

1762


Assembly Code. in Rejester AL. How do Contast Replece( or Change): Bit D3 With Bit D4 and Bit D2 With Bit D5 and Bit D1 With Bit D6 and Bit D0 With Bit D7 I am Not Know Very Well Write English.

748


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

918


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

779


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

997