C Sharp Interview Questions
Questions Answers Views Company eMail

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

7 15635

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

2 5926

What?s different about switch statements in C#?

2 4732




How does a function pointer returns a function pointer?

Wipro,

3 4017

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

1 2511

How do you inherit from a class in C#?

1 2772

Does C# support multiple inheritance?

5 6160

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

CMC, IBM,

5 8497




Are private class-level variables inherited?

5 4903

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 5044

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

3 3895

How?s method overriding different from overloading?

3 3962

What does the keyword virtual mean in the method definition?

2 2804

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

3 2899

Can you override private virtual methods?

4 6232


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

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.

1824


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

810


i want the csharp questions&answeres

746


how to print invert pyramid in c#

369


what is collections in .net? why we use?

918






i want o/p 011242110 in c# code.

866


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?

399


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?

914


windows c# using datagridview in edit form sql server

2833


1. Describe page life cycle?

863


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

765


why delegate is type safe?

1866


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

2000


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

759


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

804