C Sharp Interview Questions
Questions Answers Views Company eMail

Why can?t you specify the accessibility modifier for methods inside the interface?

Mind Tree,

3 4716

Can you inherit multiple interfaces?

Mind Tree, Host4Big, Moftak Solutions,

7 13313

What?s the difference between an interface and abstract class?

Mind Tree,

6 6415




How can you overload a method?

6 4573

If a base class has a bunch of overloaded constructors, and an inherited class has another bunch of overloaded constructors, can you enforce a call from an inherited constructor to an arbitrary base constructor?

2 4418

What?s the difference between System.String and System.StringBuilder classes?

1 3319

What?s the advantage of using System.Text.StringBuilder over System.String?

3 5086

Can you store multiple data types in System.Array?

Satyam,

20 29301




What?s the difference between the System.Array.CopyTo() and System.Array.Clone()?

3 3799

How can you sort the elements of the array in descending order?

Junosource,

1 3307

What?s the .NET datatype that allows the retrieval of data by a unique key?

3 5834

What?s class SortedList underneath?

2 5184

Will finally block get executed if the 1exception had not occurred?

3 3097

What?s the C# equivalent of C++ catch (?), which was a catch-all statement for any possible exception?

Visual Soft,

1 4084

Can multiple catch blocks be executed?

Visual Soft,

4 9710


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

1029


how can one use hcl and c sharp together?

855


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


how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge

961


1. Describe page life cycle?

864






hi all.... i need code snippets for store and retrive tiff fromat images in sqlserver....... kindy provide it.......

707


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.

1166


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


what is .NET framework architecture ??

797


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

1125


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

761


explain the nature of the assembly work?

1360


why delegate is type safe?

1867


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

805