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 4877

Can you inherit multiple interfaces?

Mind Tree, Host4Big, Moftak Solutions,

7 13625

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

Mind Tree,

6 6587




How can you overload a method?

6 4720

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 4542

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

1 3421

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

3 5211

Can you store multiple data types in System.Array?

Satyam,

20 29948




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

3 3999

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

Junosource,

1 3412

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

3 5972

What?s class SortedList underneath?

2 5315

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

3 3260

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

Visual Soft,

1 4181

Can multiple catch blocks be executed?

Visual Soft,

4 9851


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

what is main function of alternate teamplate of datalist?

932


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

873


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.

664


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

846


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.

1236






what will be the output of the given below coding. using System; public class Exercise { static void OddNumbers(int a) { if (a >= 1) { Console.Write("{0}, ", a); a -= 2; OddNumbers(a); } } public static int Main() { const int Number = 9; Console.WriteLine("Odd Numbers"); OddNumbers(Number); Console.WriteLine(); return 0; } }

2131


hi, is compulsory .net knowledge need for biztalk server training. if need, how far?.tell me some info abt real time instructors in hyd or other?

460


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

1005


i want the csharp questions&answeres

795


What exactly happens when we debug and build the program?

1377


if you do have a stack overflow profile.what is your ranking?

824


Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.

3046


What issues can be faced while delivering code?

841


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

892


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.

835