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
Why is ienumerable used?
How is a strongly-named assembly different from one that isn’t strongly-named?
What is the use of thread join in c#?
What is the use of readkey in c#?
What is singleordefault?
Why singleton pattern is used in c#?
What is the difference between selection and projection?
Why do we use readonly in c#?
What is difference between tostring() vs convert.tostring() vs (string) cast
What is strongly typed in c#?
Who introduced c#?
How do I declare a pure virtual function in c#?
How can i Spawn a Thread
What are Regex / regular expressions ?
What are the return types in c#?