Beginning C# 7 Hands-On:Advanced Language Features
上QQ阅读APP看书,第一时间看更新

Summary

In this chapter, you learned upcasting, downcasting, and then how to implement a generic interface and how that exactly helps us. You created a Generics Interface class and a Quad class, implemented an interface, added a virtual Perimeter function, added refinements to the code, and entered a lot of mechanical reference code.

In the next chapter, you will learn about generic delegates.