C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Visual Soft,

3 5210

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

Visual Soft,

2 2892

Are private class-level variables inherited?

HCL, Visual Soft,

4 9722

Describe the accessibility modifier protected internal.

Visual Soft,

2 4347

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 4643

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

Visual Soft, Hindawi,

4 7767

How?s method overriding different from overloading?

Visual Soft,

2 4482

What does the keyword virtual mean in the method definition?

Satyam, Visual Soft, Ipog Software,

3 7586

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

Mind Tree,

2 6171

Can you override private virtual methods?

IBM, Mind Tree, AROBS Transilvania Software, Revalsys,

10 14324

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

Mind Tree,

2 6726

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

Mind Tree,

2 5608

What?s an abstract clas?

Mind Tree,

5 5677

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 8209

What?s an interface class?

Mind Tree,

5 5106

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com


what is collections in .net? why we use?


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.


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


how to print invert pyramid in c#


update data in an xml file which resides in solution itself, using silverlight 4.0


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


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


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.


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


how can one use hcl and c sharp together?


1. Describe page life cycle?


What exactly happens when we debug and build the program?


if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.


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