What is the difference between struct and class in C#?
S.no | Struct | Classes |
---|---|---|
1. | Value-type | Reference types |
2. | Inheritance not supported | Inheritance supported |
3. | Members public by default | Members private by default |
BY Best Interview Question ON 14 Feb 2019