Difference between Classes & Modules

Parameters for Comparison

Classes

Modules

Scope of Members

Only upto Lifetime of Object

Until Lifetime of Program

Instantiation

Can be Instantiated

Never be Instantiated

Inheritance

It Supports

It do not supports

Interface Implementation

YES

NO

Declaration

Anywhere in the Program

Only inside a Namespace

Regards,
Mayur Dighe
http://ImmortalDotNet.blogspot.com
http://MayurDighe.wordpress.com