C Sharp Interview Questions
Questions Answers Views Company eMail

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

Mind Tree,

3 4589

Can you inherit multiple interfaces?

Mind Tree, Host4Big, Moftak Solutions,

7 12964

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

Mind Tree,

6 6270

How can you overload a method?

6 4476

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?

2 4329

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

1 3234

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

3 4978

Can you store multiple data types in System.Array?


20 28759

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

3 3697

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


1 3231

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

3 5728

What?s class SortedList underneath?

2 5090

Will finally block get executed if the 1exception had not occurred?

3 2966

What?s the C# equivalent of C++ catch (?), which was a catch-all statement for any possible exception?

Visual Soft,

1 3990

Can multiple catch blocks be executed?

Visual Soft,

4 9571

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

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


i want o/p 011242110 in c# code.


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.


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


What issues can be faced while delivering code?


What exactly happens when we debug and build the program?


What exactly happens when we debug and build the program?


3. Use layered architecture for coding. s.no name description 1 abc xxxxxxxxx 2 abc xxxxxxxxx 3 4 5 6 7 8 Select all Clear all Add Delete Name Description Save close


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


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.


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??


How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!


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 insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com