Interview Questions

C#

1. What is an abstract class?
2. What is the difference between an abstract class and an interface?
3. What is the access level for methods in an interface?
4. What is the difference between value types and reference types?
5. Is struct a value type or a reference type?
6. Is it possible to add a method to a struct?

Advertisements