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
How does return work in c#?
What is c# used for?
Explain copy constructor?
How do you prevent a class from being inherited in c#?
Is string a data type in c#?
What is gac? What are the steps to create an assembly and add it to the gac?
what is IDisposal interface
What is asp net c#?
What is an expression in c#?
What is parseexact c#?
What are the 2 types of data types available in c#?
What is session c#?
Explain the difference between the debug class and trace class?
Can mvc be used for desktop applications?
How do I stop my console from closing in c#?