Why do we need struct? (C#)

c#

Solution

A struct is a value type so if you create a copy, it will actually physically copy the data, whereas with a class it will only copy the reference to the data

Problem

To use a struct, we need to instantiate the struct and use it just like a class. Then why don't we just create a class in the first place?

Original source