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 4668

Can you inherit multiple interfaces?

Mind Tree, Host4Big, Moftak Solutions,

7 13186

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

Mind Tree,

6 6358

How can you overload a method?

6 4530

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 4383

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

1 3285

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

3 5039

Can you store multiple data types in System.Array?


20 29053

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

3 3756

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


1 3268

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

3 5792

What?s class SortedList underneath?

2 5134

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

3 3052

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

Visual Soft,

1 4049

Can multiple catch blocks be executed?

Visual Soft,

4 9657

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

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.


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


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


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


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.


i want o/p 011242110 in c# code.


update data in an xml file which resides in solution itself, using silverlight 4.0


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


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


why delegate is type safe?


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


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


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


Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!


what is collections in .net? why we use?