400 Bad Request
400 Bad Request
Please forward this error screen to's WebMaster.

Your browser sent a request that this server could not understand:

  • (none)/ws5.txt (port 80)

C# Interview Question

1). What is C#?

C# [pronounced as “C sharp”] is a simple, modern, object-oriented, and type-safe programming language.

2). What are the basic concepts of object oriented programming?

It is necessary to understand some of the concepts used extensively in object oriented programming.These include Objects, Classes, Data abstraction and encapsulation, Inheritance,Polymorphism.

3). Can you inherit multiple interfaces?

Yes , In Dotnet C# Multiple Inheritence is not allowed so instead of we can use Interfaces which are inheritable.

4). What is Garbage collection?

The .NET Framework’s garbage collector manages the allocation and release of memory for your application.

5).Where are all .NET Collection classes located?

System.Collection namespace has all the collection classes available in .NET.

6). What is boxing and unboxing?

Implicit conversion of value type to reference type of a variable is known as BOXING, for example integer to object type conversion.  Conversion of reference type variable back to value type is called as UnBoxing.

7). What are the types of arrays in C#?

Single-Dimensional, Multidimensional, Jagged arrays.

8). What is the difference between Object and Instance?

An Instance of a user-defined type is called an object. We can instantiate many objects from one class. An object is an instance of a class.

9).Define Constructors?

A constructor is a member function with the same name as its class.
The constructor is invoked whenever an object of its associated class is created. It is called constructor because it constructs the values of data members of the class.

10).What is encapsulation?

The wrapping up of data and functions into a single unit (called class) is known as encapsulation. Encapsulation containing and hiding information about an object, such as internal data structures and code.

For more details you can comment or leave a reply below.

Updated: February 1, 2012 — 8:39 pm

Leave a Reply

Your email address will not be published. Required fields are marked *

Pasham Technology © 2016 Pasham Technologies