C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Visual Soft,

3 5566

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

Visual Soft,

4 3195

Are private class-level variables inherited?

HCL, Visual Soft,

5 10290




Describe the accessibility modifier protected internal.

Visual Soft,

3 4716

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 5190

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

Visual Soft, Hindawi,

4 8713

How?s method overriding different from overloading?

Visual Soft,

2 4716

What does the keyword virtual mean in the method definition?

Satyam, Visual Soft, Ipog Software,

3 8171




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

Mind Tree,

2 6900

Can you override private virtual methods?

IBM, Mind Tree, AROBS Transilvania Software, Revalsys,

11 15717

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

Mind Tree,

2 7223

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

Mind Tree,

2 6094

What?s an abstract clas?

Mind Tree,

5 6185

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 9237

What?s an interface class?

Mind Tree,

5 5560


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

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

741


if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.

1145


What framework is used for performance testing/load testing?

763


what is collections in .net? why we use?

892


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

679






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

794


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


what is main function of alternate teamplate of datalist?

790


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

658


what is .NET framework architecture ??

776


how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge

937


windows c# using datagridview in edit form sql server

2817


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

1007


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?

373


how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.

588