C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Visual Soft,

3 5645

When you inherit a protected class-level variable, who is it available to?

Visual Soft,

4 3268

Are private class-level variables inherited?

HCL, Visual Soft,

5 10396

Describe the accessibility modifier protected internal.

Visual Soft,

3 4788

C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?

Visual Soft,

3 5281

What?s the top .NET class that everything is derived from?

Visual Soft, Hindawi,

4 8902

How?s method overriding different from overloading?

Visual Soft,

2 4795

What does the keyword virtual mean in the method definition?

Satyam, Visual Soft, Ipog Software,

3 8261

Can you declare the override method static while the original method is non-static?

Mind Tree,

2 7022

Can you override private virtual methods?

IBM, Mind Tree, AROBS Transilvania Software, Revalsys,

11 16027

Can you prevent your class from being inherited and becoming a base class for some other classes?

Mind Tree,

2 7309

Can you allow class to be inherited, but prevent the method from being over-ridden?

Mind Tree,

2 6169

What?s an abstract clas?

Mind Tree,

5 6300

When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?

Mind Tree,

2 9437

What?s an interface class?

Mind Tree,

5 5649

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

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


2. What happened when BO object has been called?


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


hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks


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


i want the csharp questions&answeres


what is collections in .net? why we use?


what is .NET framework architecture ??


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


why delegate is type safe?


explain the nature of the assembly work?


What framework is used for performance testing/load testing?


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


Asha buys 16 Chocolates for rs 12 and 24 chocolates for rs 20, if she sold them 30 chocolates for rs 30 then what is the Gain/Loss percentage? Gain(700/19 %) Loss(700/19 %) Gain(500/19 %) Loss(500/19 %) If one person ate 100 grapes in 5 days and 6 more each day from starting, what was the no of grapes he ate on first day? 6 8 10 7 If seven men P, Q, R, S, T, U, V parked his car, P and Q something like that. 6 student J, K, L, M, N, O went for picnic in 2 batches, K and L have to go together, M and O do't go together, if O and L go in one batch then which of these combination will be wrong. Jmnp Jklo klop JKLO a boat can go upstream and down stream, if it goes 5/2 times of downstream at the speed of 6 kmph then what will be the speed of upstream? 15 KMPH 12 KMPH 10 KMPH 11 KMPH A, B, C, D, E sitting on a table, A sits 2 seat left from B and C sits 2 seat right from B then what will not be the combination ACDE


What exactly happens when we debug and build the program?