C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Visual Soft,

3 4848

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

Visual Soft,

2 2587

Are private class-level variables inherited?

HCL, Visual Soft,

4 9089

Describe the accessibility modifier protected internal.

Visual Soft,

2 4038

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 4173

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

Visual Soft, Hindawi,

4 7000

How?s method overriding different from overloading?

Visual Soft,

2 4172

What does the keyword virtual mean in the method definition?

Satyam, Visual Soft, Ipog Software,

3 7045

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

Mind Tree,

2 5477

Can you override private virtual methods?

IBM, Mind Tree, AROBS Transilvania Software, Revalsys,

10 13265

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

Mind Tree,

2 6293

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

Mind Tree,

2 5140

What?s an abstract clas?

Mind Tree,

5 5277

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 7517

What?s an interface class?

Mind Tree,

5 4694

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

i want the csharp questions&answeres


windows c# using datagridview in edit form sql server


Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.


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


write code for inserting and updating recoards in sql server database using connected architecture & records shoulds displayed in grid view ( use c# )


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


These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.


How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!


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


What issues can be faced while delivering code?


What exactly happens when we debug and build the program?


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


i want o/p 011242110 in c# code.


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


2. What happened when BO object has been called?