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
What is a data set in c#?
What is a dll in c#?
What are custom exceptions? Why do we need them?
What is difference between association, aggregation and inheritance relationships?
What is attribute and reflection in c#?
What is difference between ilist and list?
What is the difference between struct and class c#?
what is scope of a protected internal member variable of a c# class
Define parsing?
What is a dynamic assembly?
What is polymorphism c# example?
Explain About ADO and its objects
Does the system.exception class have any cool features?
What is the difference while using directive vs using statement ?
Explain the accessibility modifier protected internal?