If you are here, you must be a fan of the functional approach to problem solving. C# includes an array of syntax features that enable developers to express their code using functional programming techniques. This includes features like lambdas, expression-bodied members, function delegates, tuples and, most of all, LINQ operators.
The style used in functional programming with C# differs from the traditional conditional block style of imperative programming. The purpose of this cheat sheet is to structure some of the language features that are most commonly used by the C# developer who’s interested in writing functional style code.
In this resource, you will find short definitions, tips and code examples of: immutable types, ternary expressions, tuples, func delegates, higher order functions, pipelines, method chaining, return yield, thread-safe collections and a LINQ quick reference.
“Functional Programming with C# 7.1” is brought to you by Telerik DevCraft.
Ed is a Microsoft MVP and an internationally recognized online influencer, speaker, writer, a Developer Advocate for Progress, and expert on all things web development. Ed enjoys geeking out to cool new tech, brainstorming about future technology, and admiring great design.