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?


4 11579

What is the Difference between imperative and interrogative code?


2 11368

What is the Difference between value and reference type?


12 24022

What are the two kinds of properties?


10 11214

What is the raise event used for?


1 4549

Explain constructor.


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,


Describe ways of cleaning up objects.


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?


4 8166

What are the the three types of DAO ?

1 3640

Does C# supports multi-dimensional arrays ?


4 12857

How do you create multiple inheritance in C#?


5 5874

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

2. What happened when BO object has been called?


What framework is used for performance testing/load testing?


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


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


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


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.


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


1. Describe page life cycle?


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


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


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


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.


what is .NET framework architecture ??


i want o/p 011242110 in c# code.


why delegate is type safe?