C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Visual Soft,

3 4970

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

Visual Soft,

2 2685

Are private class-level variables inherited?

HCL, Visual Soft,

4 9408

Describe the accessibility modifier protected internal.

Visual Soft,

2 4190

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 4372

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

Visual Soft, Hindawi,

4 7340

How?s method overriding different from overloading?

Visual Soft,

2 4304

What does the keyword virtual mean in the method definition?

Satyam, Visual Soft, Ipog Software,

3 7290

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

Mind Tree,

2 5844

Can you override private virtual methods?

IBM, Mind Tree, AROBS Transilvania Software, Revalsys,

10 13737

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

Mind Tree,

2 6495

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

Mind Tree,

2 5298

What?s an abstract clas?

Mind Tree,

5 5413

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 7833

What?s an interface class?

Mind Tree,

5 4872


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

598


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

724


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

515


i want the csharp questions&answeres

524


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

426


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

564


What exactly happens when we debug and build the program?

1038


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

698


why delegate is type safe?

1556


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.

1562


windows c# using datagridview in edit form sql server

2618


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

1584


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

872


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

550


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

799