Pages

Saturday, March 23, 2013

What is Class?

Class is a blue print or template which is having state and behavior and which supports objects of which own types.

Class must support oops concepts ie.
1.Abstraction
2.Encapsulation
3.Inheritance
4.Polymorphism

Wednesday, March 13, 2013

What is the difference between UserControl and Custom Control?

User Controls are easy to create where as Custom Controls requires extra effort

User Controls are used where layout is static where as custom controls are used in dynamic layouts

A User Control cannot be added to the toolbar where as Custom Control can be

A separate copy of User Control is required in every application that uses it where as since Custom Controls are shared in GAC, only single copy can be used by all applications.

What is Shared Assembly?

A shared assembly is kept in the GAC and can be used by one or more applications on a machine.

What is Private Assembly?

A private assembly is local to the installation directory of an application and is used only by that application

What is flat file?

A flat file as the name implies which can be read or written sequentially

What is Control?

A control is component that provides UI-Capability

What is meant by Business Logic?

It is the functionality which handles the exchange of information between DB and UI.