C Sharp Interview Questions
Questions Answers Views Company eMail

Does C# support multiple inheritance?

IBM, Visual Soft,

3 5026

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

Visual Soft,

2 2766

Are private class-level variables inherited?

HCL, Visual Soft,

4 9503




Describe the accessibility modifier protected internal.

Visual Soft,

2 4241

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 4446

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

Visual Soft, Hindawi,

4 7440

How?s method overriding different from overloading?

Visual Soft,

2 4340

What does the keyword virtual mean in the method definition?

Satyam, Visual Soft, Ipog Software,

3 7363




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

Mind Tree,

2 5942

Can you override private virtual methods?

IBM, Mind Tree, AROBS Transilvania Software, Revalsys,

10 13902

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

Mind Tree,

2 6551

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

Mind Tree,

2 5357

What?s an abstract clas?

Mind Tree,

5 5466

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 7931

What?s an interface class?

Mind Tree,

5 4917


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

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

557


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

608


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.

1580


What exactly happens when we debug and build the program?

1051


what is .NET framework architecture ??

598


Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.

2593


what is collections in .net? why we use?

694


hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks

555


What exactly happens when we debug and build the program?

1065


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

1605


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.

601


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.

565


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

1601


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

579


i want o/p 011242110 in c# code.

656