Previous Section   Next Section

Workshop

The Workshop provides quiz questions to help solidify your understanding of what was covered in this hour. Answers are provided in Appendix A, "Quiz Answers."

Quiz

1:

In what cases would you use interfaces as opposed to regular class inheritance? Why would you use class inheritance instead of interfaces?

2:

Can you add an implementation for any of the .NET Framework interfaces?

3:

Can an interface contain private or protected methods and/or properties?

4:

Can an interface contain data members instead of properties?

5:

Can you obtain an interface pointer from one object and then cast it to the same interface type but from a different object?


  Previous Section   Next Section
Top