There are two different types of classes:
● Sealed classes: These classes are completely defined in their structure and composition at the compile time. You cannot add or modify the structure of the class at the run time. For example if you have a string class, it is more often the generic class that we have to use and so they can come in as a static structure class used by other classes in form of objects.
● Dynamic Classes: These are the classes that can extend their functionality during the run time. It is possible to add the functions and properties to the class at run time. It can come in handy when we want to have memory usage depending on the way the user uses the specific object.