Senior .Net Developer Question:

Tell us what is the difference between struct and class?

Tweet Share WhatsApp

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.

Download Senior .Net Developer PDF Read All 60 Senior .Net Developer Questions
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?