C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Visual Soft,

3 4897

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

Visual Soft,

2 2630

Are private class-level variables inherited?

HCL, Visual Soft,

4 9227

Describe the accessibility modifier protected internal.

Visual Soft,

2 4118

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 4269

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

Visual Soft, Hindawi,

4 7144

How?s method overriding different from overloading?

Visual Soft,

2 4245

What does the keyword virtual mean in the method definition?

Satyam, Visual Soft, Ipog Software,

3 7159

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

Mind Tree,

2 5648

Can you override private virtual methods?

IBM, Mind Tree, AROBS Transilvania Software, Revalsys,

10 13467

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

Mind Tree,

2 6385

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

Mind Tree,

2 5176

What?s an abstract clas?

Mind Tree,

5 5317

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 7655

What?s an interface class?

Mind Tree,

5 4770

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

windows c# using datagridview in edit form sql server


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


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


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


hi i m bhawna ,a student of mca want to know about what type of technical question has been asked in an interview of mnc's like HCL,TCS,WIPRO


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?


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


i want the csharp questions&answeres


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


what is collections in .net? why we use?


how to print invert pyramid in c#


What framework is used for performance testing/load testing?


What issues can be faced while delivering code?


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.


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