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

Summary

In this chapter, you learned about expression-bodied members and then Lambda expressions, which are defined by blocks of code. You made a delegate, defined an expression-bodied member, converted an array of strings into an array of doubles, created an expression-bodied lambda, and built the code to compare values and specified parameters.

In the next chapter, you will learn about anonymous functions.