C Sharp Interview Questions
Questions Answers Views Company eMail

what is the difference between int and Int32?

TCS,

5 19328

When static constructor is invoked?

TCS,

9 7478

When compiler adds a default constructor to a class?

TCS,

4 3899




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

TCS,

4 3432

what is output parameter and parameter array?

TCS,

1 3007

How to throw an caught exception from cath block?

TCS,

3 3852

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

TCS,

2 3693

What is marker interface?

TCS,

1 3283




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 13793

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

TCS,

3 4672

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

TCS,

1 5452

Use of Checked and UnChecked operators?

TCS,

2 4306

What is short circuit logical evaluation?

TCS,

1 2848

How can we acheive inheritance in VB.NET ?

TCS,

2 5215

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

TCS,

2 3051


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

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

14235


explain the nature of the assembly work?

1360


how can one use hcl and c sharp together?

855


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

810


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

824






hi, is compulsory .net knowledge need for biztalk server training. if need, how far?.tell me some info abt real time instructors in hyd or other?

399


why delegate is type safe?

1867


What exactly happens when we debug and build the program?

1307


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

681


windows c# using datagridview in edit form sql server

2834


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; } }

2000


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

831


how to print invert pyramid in c#

371


In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

1124


What exactly happens when we debug and build the program?

1413