C Sharp Interview Questions
Questions Answers Views Company eMail

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

7 15697

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

2 6007

What?s different about switch statements in C#?

2 4796

How does a function pointer returns a function pointer?


3 4114

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

1 2549

How do you inherit from a class in C#?

1 2820

Does C# support multiple inheritance?

5 6243

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


5 8588

Are private class-level variables inherited?

5 4969

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 5092

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

3 3980

How?s method overriding different from overloading?

3 4014

What does the keyword virtual mean in the method definition?

2 2861

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

3 2978

Can you override private virtual methods?

4 6318

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

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


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


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.


why delegate is type safe?


how to print invert pyramid in c#


i want o/p 011242110 in c# code.


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


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


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.


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


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


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


2. What happened when BO object has been called?


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