C Sharp Interview Questions
Questions Answers Views Company eMail

C# is case sensitive, what is mean by case sensitive

3 14711

Is there any way to access private memebers of an object from another object?

TCS,

4 3736

What are properties and indexer?

TCS,

1 2021




how to implement singelton in C# & its uses?

TCS,

1 3096

What are the access allowed for compilation units(namespace),class and structs and what are its default access?

TCS,

1 1514

What’s difference between Association, Aggregation and Inheritance relationships?

TCS,

2 16626

What are iterators?

TCS,

5 3192

What are Generics?

TCS,

5 3478




What are nullable types? Is Nullable I and int ?i are same.

TCS,

2 3072

How to assign default value to nullable types? Did nested nullable types are allowed

TCS,

2 3686

What is covariance and contravariance? Did Delegate and method overriding support these?

TCS,

1 4520

Did a generic class can be inherited by a normal class?

TCS,

1 2813

Difference between dispose and destructor?

TCS,

3 9729

What are virtual methods? How are they used?

TCS,

3 3085

use of operator overloading of implicit & explicit operators?

TCS,

1 3497


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

what is main function of alternate teamplate of datalist?

816


how to print invert pyramid in c#

371


i want o/p 011242110 in c# code.

867


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

1124


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.

1222






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

786


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


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


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

681


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

981


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

810


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 framework is used for performance testing/load testing?

782


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.

774


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

939