Senior .Net Developer Question:
Tell us what is the difference between struct and class?
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 Question | Next Question |
Tell me what is a “jagged array”? | Explain me what is an anonymous method and how is it different from a lambda expression? |