Answer Posted / ranjith
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 ? | 43 Yes | 6 No |
Post New Answer View All Answers
How can I access the registry from c# code?
Is string nullable c#?
Why delegates are type safe in c#?
Should I make my destructor virtual?
What do multicast delegates mean?
How does the lifecycle of Windows services differ from Standard EXE?
What are logical operators in c#?
What are the differences between static, public and void in c#?
What does void mean unity?
Explain how do you directly call a native function exported from a dll?
What is the purpose of namespace?
Can abstract class have private constructor c#?
When is a class declared as a class abstract?
What are the ways in which client can create object on server in cao model?
Why do we use abstraction in c#?