C Sharp Interview Questions
Questions Answers Views Company eMail

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

3 5423

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

5 7258

What?s an abstract class?

5 3451




What?s an interface class?

1 2552

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

5 10810

Can you inherit multiple interfaces?

3 3470

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

Patni,

2 3645

How can you overload a method?

3 3914




If a base class has a bunch of overloaded constructors, and an inherited class has another bunch of overloaded constructors, can you enforce a call from an inherited constructor to an arbitrary base constructor?

1 3736

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

5 13074

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

1 3549

Can you store multiple data types in System.Array?

5 4084

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

Wipro,

6 11491

How can you sort the elements of the array in descending order?

2 3582

What?s the .NET datatype that allows the retrieval of data by a unique key?

SmartData,

2 6721


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

1. Describe page life cycle?

880


how can one use hcl and c sharp together?

875


i want the csharp questions&answeres

759


write code for inserting and updating recoards in sql server database using connected architecture & records shoulds displayed in grid view ( use c# )

1226


What issues can be faced while delivering code?

790






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

695


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

1176


2. What happened when BO object has been called?

805


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

1033


what is main function of alternate teamplate of datalist?

872


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

719


explain the nature of the assembly work?

1378


What framework is used for performance testing/load testing?

793


Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!

14331


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

830