Collection and sharing of, interview questions and answers asked in various interviews, faqs and articles.....
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.
No comments:
Post a Comment