Book Image

Functional Programming in C# - Part 1 [Video]

By : Wisnu Anggoro
Book Image

Functional Programming in C# - Part 1 [Video]

By: Wisnu Anggoro

Overview of this book

<p>Functional programming makes your application faster, improves performance, and increases your productivity. C# code is written at a higher level of abstraction, so that code will be closer to business requirements, abstracting away many low-level implementation details.This video bridges the language gap for C# developers by showing you how to create and consume functional constructs in C#. We also bridge the domain gap by showing how functional constructs can be applied in business scenarios. We’ll take you through lambda expressions and extension methods, and help you develop a deep understanding of the concepts and practices of LINQ and recursion in C#.By the end of the video, you will be able to write code using the best approach and will be able to perform unit testing in functional programming, changing how you write your applications and revolutionizing your projects.</p> <h2>Style and Approach</h2> <p>This course takes a pragmatic approach and shows you techniques to write better functional constructs in C#. We’ll also show you how these concepts can be applied in business scenarios.</p>
Table of Contents (4 chapters)
Chapter 3
Expressing Anonymous Methods with Lambda Expressions
Content Locked
Section 2
Lambda Expressions
We now have an idea that anonymous methods can help us create a simple and short method. However, in C# 3.0, lambda expressions were announced in order to complement anonymous methods in providing a shorthand notation to create anonymous methods. This video will help us know everything related to lambda expressions. - Transform an anonymous method to a lambda expression - Create a delegate type using lambda expression and expression trees