Answer Posted / srinivas
Both class and module are a collection of methods and
properties. The major difference is that instances can be
created from a class in the form of objects, but not from a
module. The scope of the members of a class is only for the
lifetime of the object, but the scope of the members of a
module exist for the life of the program
| Is This Answer Correct ? | 22 Yes | 3 No |
Post New Answer View All Answers
Is c# good for beginners?
How does the lifecycle of Windows services differ from Standard EXE?
What does type safe mean in c#?
What are the differences between system.string and system.text.stringbuilder classes?
Illustrate the differences between the system.array.copyto() and system.array.clone()?
what is the meaning of Object lifetime in OOPS
Why we use methods in c#?
Explain a MSIL ? Why is it appreciated by all developers?
Is c and c# the same?
Why do we need to call CG.SupressFinalize?
What is the delegates in c#?
When To use HashTable In C#
What is semaphore in c#?
How do I create multifile assembly?
What is method overriding in c#