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 do you serialize an object?
How C# 4.0 supports dynamic programming language?
Is it possible to execute multiple catch block for a single try statement?
What are the three types of operators?
Explain about Serialize and MarshalByRef?
Can a method return multiple values in c#?
How do you prevent a class from being inherited in c#?
What is a streamwriter in c#?
Explain the top reason to use c# language?
Differentiate between copy and default constructor.
What are the 3 different types of arrays?
Why is hashset faster?
What is a dbml?
What are the different types of delegates?
What are the concepts of dispose method?