C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Visual Soft,

3 5143

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

Visual Soft,

2 2857

Are private class-level variables inherited?

HCL, Visual Soft,

4 9666

Describe the accessibility modifier protected internal.

Visual Soft,

2 4305

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 4591

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

Visual Soft, Hindawi,

4 7663

How?s method overriding different from overloading?

Visual Soft,

2 4458

What does the keyword virtual mean in the method definition?

Satyam, Visual Soft, Ipog Software,

3 7525

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

Mind Tree,

2 6104

Can you override private virtual methods?

IBM, Mind Tree, AROBS Transilvania Software, Revalsys,

10 14193

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

Mind Tree,

2 6680

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

Mind Tree,

2 5547

What?s an abstract clas?

Mind Tree,

5 5624

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 8135

What?s an interface class?

Mind Tree,

5 5059

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

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


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.


I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.


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


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?


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


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


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


i want o/p 011242110 in c# code.


how to print invert pyramid in c#


what is main function of alternate teamplate of datalist?


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


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.


What exactly happens when we debug and build the program?


Assembly Code. in Rejester AL. How do Contast Replece( or Change): Bit D3 With Bit D4 and Bit D2 With Bit D5 and Bit D1 With Bit D6 and Bit D0 With Bit D7 I am Not Know Very Well Write English.