Senior .Net Developer Question:

Tell us what is the difference between struct and class?

Senior .Net Developer Interview Question
Senior .Net Developer Interview Question

Answer:

A class is a definition of an object and is inheritable. A structure, on the other hand, defines a type of data and is non-inheritable.


Previous QuestionNext Question
Tell me what is a “jagged array”?Explain me what is an anonymous method and how is it different from a lambda expression?