Answers

Question and Answer:

  Home  C# (Sharp) Programming Language

⟩ What is the difference between a Struct and a Class?

Structs are value-type variables and are thus saved on the stack, additional overhead but faster retrieval. Another difference is that structs cannot inherit.

 131 views

More Questions for you: