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 the difference between abstract and virtual?
What is an enumerator in c#?
What is a generic class?
Define delegate?
What is Web.config?
What is wcf c#?
How to find whether the application is run from inside ide or not?
What is the default value of decimal in c#?
What is the difference between constant and readonly in c#?
What does the initial catalog parameter define in the connection string?
Distinguish between the Debug class and Trace class with its functionality?
Explain the process of abstraction with an example?
What Happens In Memory When You Box And Unbox A Value-type?
What is func delegate in c#?
Explain how is the dll hell problem solved in .net?