explain DIFFERENCE BETWEEN CLASS AND MODULE?

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


Please Help Members By Posting Answers For Below Questions

What is the difference between abstract and virtual?

443


What is an enumerator in c#?

518


What is a generic class?

525


Define delegate?

538


What is Web.config?

543






What is wcf c#?

516


How to find whether the application is run from inside ide or not?

570


What is the default value of decimal in c#?

488


What is the difference between constant and readonly in c#?

431


What does the initial catalog parameter define in the connection string?

485


Distinguish between the Debug class and Trace class with its functionality?

532


Explain the process of abstraction with an example?

502


What Happens In Memory When You Box And Unbox A Value-type?

468


What is func delegate in c#?

504


Explain how is the dll hell problem solved in .net?

459