C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Visual Soft,

3 5719

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

Visual Soft,

4 3327

Are private class-level variables inherited?

HCL, Visual Soft,

5 10502




Describe the accessibility modifier protected internal.

Visual Soft,

3 4840

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 5333

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

Visual Soft, Hindawi,

4 9035

How?s method overriding different from overloading?

Visual Soft,

2 4847

What does the keyword virtual mean in the method definition?

Satyam, Visual Soft, Ipog Software,

3 8335




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

Mind Tree,

2 7111

Can you override private virtual methods?

IBM, Mind Tree, AROBS Transilvania Software, Revalsys,

11 16206

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

Mind Tree,

2 7364

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

Mind Tree,

2 6242

What?s an abstract clas?

Mind Tree,

5 6361

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 9624

What?s an interface class?

Mind Tree,

5 5698


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?

952


i want o/p 011242110 in c# code.

912


Where test director stores its data ? Database ,Local file etc...? I need to read this data from Visual Studio 2005 c# client. Regards

845


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

1826


What issues can be faced while delivering code?

812






2. What happened when BO object has been called?

822


What exactly happens when we debug and build the program?

1356


why delegate is type safe?

1914


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.

647


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

867


what is .NET framework architecture ??

845


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

3037


What framework is used for performance testing/load testing?

822


if you do have a stack overflow profile.what is your ranking?

806


write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

1201