Sollicitatievraag bij Modular Mining Systems

What is the different between Struct and Class?

Antwoord op sollicitatievraag

Anoniem

1 mrt 2018

A structure is a value type so it is stored on the stack, but a class is a reference type and is stored on the heap.