C Sharp Interview Questions
Questions Answers Views Company eMail

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

7 15783

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

2 6104

What?s different about switch statements in C#?

2 4844




How does a function pointer returns a function pointer?

Wipro,

3 4208

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

1 2587

How do you inherit from a class in C#?

1 2858

Does C# support multiple inheritance?

5 6324

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

CMC, IBM,

5 8691




Are private class-level variables inherited?

5 5029

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 5154

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

3 4059

How?s method overriding different from overloading?

3 4080

What does the keyword virtual mean in the method definition?

2 2898

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

3 3043

Can you override private virtual methods?

4 6438


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

1193


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


2. What happened when BO object has been called?

842


how to print invert pyramid in c#

476


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






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?

972


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.

851


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

1216


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

1274


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


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


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

850


hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks

831


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.

1280


what is .NET framework architecture ??

866