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 4
Extending Object Functionality with Extension Methods
Content Locked
Section 1
Getting Closer to Extension Methods
An extension method is a capability that can extend the ability of an existing class or type without making any modification to the existing class or type. Let’s explore how extension method enables us to add methods to the existing class or type without having to either create a new derived type or recompile. - Create an extension method - Create extension methods in the code IntelliSense