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
Is cli same as the clr?
What does .length do in c#?
How C# 4.0 supports dynamic programming language?
In a site to turn off cookies for one page which method is followed?
Explain the term inheritance in C#.
What is the relation between classes and objects?
What is a method signature in c#?
What is getenumerator?
Describe the difference between inline and code behind - which is best?
Can properties be private in c#?
What is data reader in c#?
What is an assembly in dotnet?
What are the 3 types of comments in c#?
Can abstract class have constructor in c#?
Is c# used for frontend or backend?