C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Visual Soft,

3 5320

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

Visual Soft,

2 2969

Are private class-level variables inherited?

HCL, Visual Soft,

4 9929




Describe the accessibility modifier protected internal.

Visual Soft,

2 4456

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 4822

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

Visual Soft, Hindawi,

4 8069

How?s method overriding different from overloading?

Visual Soft,

2 4533

What does the keyword virtual mean in the method definition?

Satyam, Visual Soft, Ipog Software,

3 7784




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

Mind Tree,

2 6334

Can you override private virtual methods?

IBM, Mind Tree, AROBS Transilvania Software, Revalsys,

10 14686

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

Mind Tree,

2 6861

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

Mind Tree,

2 5785

What?s an abstract clas?

Mind Tree,

5 5790

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 8466

What?s an interface class?

Mind Tree,

5 5227


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

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

895


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

548


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

800


Hello! How to do this: "Create manifest utility intended for creating update content files. Application should take a set of files as input parameter and generate XML based manifest file as output one." I use C# and vs.net 2003. It's urgent! Help please, thanks. Mayana

651


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.

1001


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

628


What framework is used for performance testing/load testing?

648


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

864


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

977


What exactly happens when we debug and build the program?

1195


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

2854


how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge

830


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

680


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

542


What exactly happens when we debug and build the program?

1163