C Sharp Interview Questions
Questions Answers Views Company eMail

Explain about Protected and protected internal, ?internal? access-specifier?

7 15866

Is goto statement supported in C#? How about Java?

2 6167

What?s different about switch statements in C#?

2 4898

How does a function pointer returns a function pointer?


3 4292

What?s the implicit name of the parameter that gets passed into the class? set method?

1 2632

How do you inherit from a class in C#?

1 2897

Does C# support multiple inheritance?

5 6400

When you inherit a protected class-level variable, who is it available to?


5 8781

Are private class-level variables inherited?

5 5084

7. C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?

2 5232

What?s the top .NET class that everything is derived from?

3 4138

How?s method overriding different from overloading?

3 4136

What does the keyword virtual mean in the method definition?

2 2979

Can you declare the override method static while the original method is non-static?

3 3133

Can you override private virtual methods?

4 6519

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

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


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 is main function of alternate teamplate of datalist?


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


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


2. What happened when BO object has been called?


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.


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.


What framework is used for performance testing/load testing?


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


explain the nature of the assembly work?


what is collections in .net? why we use?


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


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


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.