C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Visual Soft,

3 4869

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

Visual Soft,

2 2607

Are private class-level variables inherited?

HCL, Visual Soft,

4 9161

Describe the accessibility modifier protected internal.

Visual Soft,

2 4073

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 4225

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

Visual Soft, Hindawi,

4 7069

How?s method overriding different from overloading?

Visual Soft,

2 4206

What does the keyword virtual mean in the method definition?

Satyam, Visual Soft, Ipog Software,

3 7104

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

Mind Tree,

2 5550

Can you override private virtual methods?

IBM, Mind Tree, AROBS Transilvania Software, Revalsys,

10 13357

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

Mind Tree,

2 6332

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

Mind Tree,

2 5150

What?s an abstract clas?

Mind Tree,

5 5294

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 7583

What?s an interface class?

Mind Tree,

5 4722

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


i want the csharp questions&answeres


What issues can be faced while delivering code?


What exactly happens when we debug and build the program?


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


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


In gridview in editmode if we want to display information in one combobox based on


Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server


What exactly happens when we debug and build the program?


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


i want o/p 011242110 in c# code.


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


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


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


what is main function of alternate teamplate of datalist?