Post

Class vs struct

  • struct doesn’t provide inheritance and poliformism;
  • the struct is copied slowly because it is required to copy the value, reference type copy only reference 64 bits on x64 OS;
This post is licensed under CC BY 4.0 by the author.