Answers

Question and Answer:

  Home  ASP Programming

⟩ Whats the difference between Struct and class in C#?

Structs cannot be inherited.

Structs are passed by value, not by reference.

Struct is stored on the stack, not the heap.

Explain encapsulation.

The implementation is hidden, the interface is exposed.

 167 views

More Questions for you: