C Sharp Interview Questions
Questions Answers Views Company eMail

syntax for writing private method in a interface

Wipro, ABMPL,

7 11428

In Main function another function is there and to that function if we pass string as parameter ,then that string value is passed by value or reference type?


4 5305

Any exceptions are there which are not caught by any catch blocks? what are they?

TCS, Honeywell,

5 7821

If all code is written in a try block and write a catch block with Exception type Exception .In that scenario will all the exceptions catched by that catch block? or any exceptions which will not be caught?


3 5465

How you will connect to windows directory in c#?

HP, nTech Solutions,

2 5497

Suppose in a scenario if we want to display information only until 4.00 p.m and after that means after 4.00 p.m if any one tries to access the information it should give error mesage. Then how will you write a delegate for this ? Give coding.

HP, nTech Solutions, Primetech Software, PS,

1 5095

what is collections and what is generics

Bally Technologies,

4 7746

from web.config file with connection string who to interact means who to connect in gridview. in my system shows null something error what is the problem

Bally Technologies,

3 4600

what is reference parameter? what is out parameters? what is difference these two?

Bally Technologies, SPIC, Wipro,

9 18885

wt is namespace? wt is the use?

12 7984



5 6677

In c# how to connect crystal report?

2 8200

Can we return two values from a function?

MD Synergy,

12 18826

what is garbage collection?


8 5571

what is serilization?


6 9557

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

how can one use hcl and c sharp together?


i want the csharp questions&answeres


what is .NET framework architecture ??


What issues can be faced while delivering code?


What framework is used for performance testing/load testing?


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


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


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.


windows c# using datagridview in edit form sql server


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


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?


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 exactly happens when we debug and build the program?


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