C Sharp Interview Questions
Questions Answers Views Company eMail

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

5 9572

Can you override private virtual methods?

5 4012

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

5 3973




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

1 2931

What?s an abstract class?

NIIT,

4 4147

When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?

1 3145

What?s an interface class?

4 3368

Why can?t you specify the accessibility modifier for methods inside the interface?

2 2994




Can you inherit multiple interfaces?

3 3555

What?s the difference between an interface and abstract class?

4 3951

How can you overload a method?

3 2720

What?s the difference between System.String and System.StringBuilder classes?

3 3991

What?s the advantage of using System.Text.StringBuilder over System.String?

1 2842

Can you store multiple data types in System.Array?

7 8973

What?s the difference between the System.Array.CopyTo() and System.Array.Clone()?

3 5378


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

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.

1824


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.

605


What issues can be faced while delivering code?

776


What exactly happens when we debug and build the program?

1413


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

793






I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??

824


i want o/p 011242110 in c# code.

867


how to print invert pyramid in c#

371


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.

774


write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

1160


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?

399


i want the csharp questions&answeres

746


why delegate is type safe?

1867


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.

1222


how can one use hcl and c sharp together?

855