Meta interview question

Differences between Class & struct

Interview Answer

Anonymous

25 Apr 2021

Ref type vs. Value type. Struct cannot be subclassed. value are "almost" always copied when passed around. Tip: Read about copy-on-write. important