Answer Posted / ranjith
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 ? | 43 Yes | 6 No |
Post New Answer View All Answers
Why attributes are used in c#?
Why do we use yield in c#?
What is variable and its classification?
What is call back method?
What is different between Boxing and Unboxing?
In which way you can convert a value-type to a reference-type?
Can hashset contain duplicates c#?
What is difference between value and reference types in C#.NET
Can a loop recorder detect a heart attack?
Explain the difference between passing parameters by value and passing parameters by reference with an example?
What are generic types?
How does insertion sort work?
Why static constructor is parameterless in c#?
Do events have return type c#?
How many types of methods are there in c#?