Provides the base implementation
for the IComponent interface and enables object-sharing between
applications.
Component is the base class for all
components in the common language runtime which marshal by reference. Component
is remotable and derives from MarshalByRefObject. Component provides an
implementation of IComponent. The MarshalByValueComponent provides an
implementation of IComponent which marshals by value.
You can host a Component in any
object that implements the IContainer interface, and can query and get services
from its container. The container creates an ISite for each Component it
contains. The container uses the site to manage the Component and is used by the
Component to communicate with its container.
It is recommended that a Component
release resources explicitly by calls to its Dispose method, without waiting for
automatic memory management through an implicit call to Finalize. When a
Container is disposed, all components within the Container are also
disposed.
Class
A class is a definition for an object. It contains information about how an
object should behave, including its name, methods, properties, and events.
A reference type that encapsulates data (constants and fields) and behavior
(methods, properties, indexers, events, operators, instance constructors, static
constructors, and destructors), and can contain nested types. Class types
support inheritance, a mechanism whereby a derived class can extend and
specialize a base class.
********** Keep Smiling, Regards.
Sayad Hashim Ali
Kazi Microsoft India Community Star.
SQL Star International Ltd. SQL
House, #13,Infocity,Madhapur, Hyderabad 500 081. Tel: +91-40-2310
1625(Off) +91-98491-29500(Cell) www.mugh.net
-----Original Message----- From: MRASHWINPRABHU
[mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004
6:02 PM To: dotNET User Group Hyd Subject: Component Class
& Class files ???
Component
Class & Class files ???
Reply
|
|
| From: MRASHWINPRABHU |
Haiee
What is the difference between the
"Component Class" file and "Class" file ??
For REF:
Check this two files in the "ADD ITEMS"
Cheers
M.R.ASHWINPRABHU | | View other groups in this
category.
|