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 4780

Can you inherit multiple interfaces?

Mind Tree, Host4Big, Moftak Solutions,

7 13437

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

Mind Tree,

6 6490




How can you overload a method?

6 4648

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 4465

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

1 3370

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

3 5141

Can you store multiple data types in System.Array?

Satyam,

20 29543




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

3 3897

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

Junosource,

1 3359

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

3 5894

What?s class SortedList underneath?

2 5251

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

3 3181

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

Visual Soft,

1 4127

Can multiple catch blocks be executed?

Visual Soft,

4 9781


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server

723


There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?

939


What issues can be faced while delivering code?

800


What exactly happens when we debug and build the program?

1341


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

808






how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge

985


i want o/p 011242110 in c# code.

894


Hello! How to do this: "Create manifest utility intended for creating update content files. Application should take a set of files as input parameter and generate XML based manifest file as output one." I use C# and vs.net 2003. It's urgent! Help please, thanks. Mayana

816


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.

1250


if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.

1196


What exactly happens when we debug and build the program?

1450


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

1052


how can one use hcl and c sharp together?

882


what is main function of alternate teamplate of datalist?

885


windows c# using datagridview in edit form sql server

2868