0
Class is reference type, struct is value type. Value types doesn't support inheritance. They don't use memory heap for storing themselves, so they are slightly faster than classes. They are transferred in method parameters by copying themselves. There are some other differences too.
7th Jul 2016, 9:04 PM
Ivan G
Ivan G - avatar