C Sharp Interview Questions
Questions Answers Views Company eMail

Explain the Scope of public/private/friend/protected/protected friend.

Wipro, Rigel Networks,

1 7740

What are the Different kinds of methods?

Wipro,

4 11579

What is the Difference between imperative and interrogative code?

Wipro,

2 11368




What is the Difference between value and reference type?

Wipro,

12 24022

What are the two kinds of properties?

Wipro,

10 11214

What is the raise event used for?

Wipro,

1 4549

Explain constructor.

Wipro,

7 9186

What is a resource? Provide an example from your recent project.

IBM, Wipro, Logica CMG,

2 5122




What is a system lock?

Wipro, KEN Group,

886

Describe ways of cleaning up objects.

Wipro,

8 8994

Where does the dispose method lie and how can it be used to clean up resources?

TCS, Wipro,

2 7065

How can you clean up objects holding resources from within the code?

Wipro,

4 8166

What are the the three types of DAO ?

1 3640

Does C# supports multi-dimensional arrays ?

Microsoft,

4 12857

How do you create multiple inheritance in C#?

Microsoft,

5 5874


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

2. What happened when BO object has been called?

862


What framework is used for performance testing/load testing?

859


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

1211


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

831


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

1288






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.

1902


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

1062


1. Describe page life cycle?

937


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

1232


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

3085


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

1860


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.

678


what is .NET framework architecture ??

884


i want o/p 011242110 in c# code.

944


why delegate is type safe?

1952