ASP Programming Question:
Download Job Interview Questions and Answers PDF
Whats the difference between Struct and class in C#?
Answer:
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.
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.
Download ASP Programming Interview Questions And Answers
PDF
Previous Question | Next Question |
Whats the access level of the visibility type internal? | What data type should you use if you want an 8-bit value thats signed? |