Learning Path: C#: Functional Programming for C# Developers
3.0 (2 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
16 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Learning Path: C#: Functional Programming for C# Developers to your Wishlist.

Add to Wishlist

Learning Path: C#: Functional Programming for C# Developers

Create efficient code using functional programming with C#
3.0 (2 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
16 students enrolled
Created by Packt Publishing
Last updated 4/2017
English
Current price: $10 Original price: $200 Discount: 95% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 3 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Develop an application using the functional approach
  • Use recursion in functional programming in order to simplify code
  • Optimize the program code using laziness and caching techniques
  • Work through a LINQ query so you can work with data
  • Compose asynchronous programs to create a responsive application
View Curriculum
Requirements
  • Basic knowledge of C#
Description

Do you want to make your application faster, improve performance, and increase your productivity? If yes, then this Learning Path is just what you need.

Packt’s Video Learning Paths are a series of individual video products put together in a logical and stepwise manner such that each video builds on the skills learned in the video before it.

This Learning Path takes a pragmatic approach and shows you advanced techniques and best practices that will help you write better functional constructs in C#. You’ll learn how to apply the functional programming concepts in business scenarios. You will also develop a deep understanding of the concepts and practices of LINQ in C#. After you have a firm grip on the basic concepts, you will learn about asynchronous programming related to functional programming and how to use async and await in C#. You will also be able to write code using the best approach and learn to perform unit testing in functional programming, changing how you approach your application and revolutionizing your projects.

By the end of the Learning Path, you will have a deep understanding of the concepts and practices of functional programming.

About the Author:

For this course, we have combined the best works of this esteemed author:

Wisnu Anggoro is a Microsoft Certified Professional in C# programming and an experienced C/C++ developer. He has also authored Boost.Asio C++ Network Programming - Second Edition, published by Packt Publishing. He has been programming since he was in junior high school and started developing computer applications using the BASIC programming language in the MS-DOS environment. He has a solid experience of smart card programming as well as desktop and web application programming, such as designing, developing, and supporting live use applications for SIM card operating system porting, personalization, PC/SC communication, and other smart card applications that require the use of C# and C/C++. He is currently a senior smart card software engineer at CIPTA, an Indonesian company that specializes in the innovation and technology of smart cards.

Who is the target audience?
  • C# developers with basic knowledge of C#
Students Who Viewed This Course Also Viewed
Curriculum For This Course
28 Lectures
03:10:21
+
Functional Programming in C# - Part 1
18 Lectures 02:08:07

This video will be overview of the entire course.

Preview 02:50

In functional programming, we write functions without side effects the way we write in

Introducing Functional Programming
10:43

For the rest of the discussion in this section, we have to create some code in C#. We will use Visual Studio 2015 Community Edition and .NET Framework 4.6.2. But, before getting started, we must know how to define the configuration settings.

Preparing the C# Compiler
02:26

We can also distinguish functional programming from imperative programming by the concepts. The core ideas of functional programming are encapsulated in the constructs. Let’s discuss those concepts in this video.

Concepts of functional programming
08:49

This video will discuss about functional programming in C#. We will be discussing both

Feeling Functional in C#
12:51

Now that we have learnt the concepts of functional programming, we need to learn to transform imperative code to functional code by leveraging method chaining. This video consists of an example where we have to create an HTML-ordered list containing the list of the planetsin our solar system.

Transforming Imperative Code to Functional Code
16:09

So far, we have had to deal with functional programming by creating code using functional

The Advantages and Disadvantages of Functional Programming
03:28

A delegate is a data type in C# that encapsulates a method that has particular parameters and return types. Let’s dig a little deeper into delegate syntax and use to learn how it will define the parameters and the return type of a method.

Preview 11:22

In C#, not only are we able to declare a delegate, but we are also able to use the built-indelegate from the C# standard library. This built-in delegate also applies to the generic datatype, so let's discuss the generic delegate prior to discussing the built-in delegate.

Built-in Delegates
07:00

A generic delegate has the ability to be assigned by a method that has an unmatched signature to the delegate. We can call this variance in delegates. There are two variances indelegates; covariance and contravariance. This video will help us learn them.

Distinguishing Variance in Delegates
05:14

In the previous section, we already discussed how to declare a delegate using named methods. When using named methods, we have to create a method first, give it a name, and then associate it with the delegate. Let’s explore how we do that.

Preview 07:13

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.

Lambda Expressions
08:43

In C#, an object or a class can be used to inform other objects or classes when something happens, which is known as an event. There are two kinds of classes in the event, they are publishers and subscribers. Let’s learn how lambda expressions are used to handle events.

Subscribing for Events Using Lambda Expressions
06:03

Lambda expressions are not only a powerful way to provide a shorthand notation for anonymous methods, but they are also used in functional programming. In this video, we will go through the advantages of using the lambda expression in the context of functional programming.

The Advantages of Using Lambda Expression in Functional Programming
04:10

An extension method is a capability that can extend the ability of an existing class or type

Preview 03:44

We have successfully created the IsPalindrome() extension method in the previous

Calling Extension Methods in the Other Assemblies
04:52

Not only can classes and types apply an extension method, but interfaces, collections, and any other objects can be functionally extended using an extension method as well. This video shows us how to extend interface, collection and object.

Leveraging the Interface, Collection, and Object
06:41

Method chaining in functional programming relies on extension methods. As we have already discussed in Section 1, method chaining makes our code easier to read. At the same time, extension method still has some limitations. Let’s take a look at the advantages and limitations of extension method.

Advantages and Limitations of the Extension Method
05:49
+
Functional Programming in C# - Part 2
10 Lectures 01:02:14

This video gives overview of the entire course.

Preview 02:51

Language Integrated Query (LINQ), which was introduced in C# 3.0, is a language feature of the .NET Framework that enables us to query data in collections by easily implementing the IEnumerable<T> interface, such as ArrayList<T>, List<T>, an XML document, and a database. Let’s learn a bit more about LINQ in this video.

Getting Started with LINQ
03:28

LINQ implements a deferred execution concept when we query the data from a collection. This means that the query will not be executed in the constructor time but in the enumeration process instead. This video will discuss deferred execution in detail.

Deferring LINQ Execution
04:14

From our discussions in previous videos, we found two types of querying syntaxes so far. Let's discuss them further in this video, by distinguishing these two syntaxes.

Choosing Between Fluent Syntax and Query Expression Syntax
06:14

There are more than 50 query operators in the Enumerable class included in the System.Linq namespace. They are also known as standard query operators. Let’s take a look at some of them in this video.

Enumerating Standard Query Operators
13:52

As we learnt in the previous video, based on the function of the operators, we can divide them into several operations. This video will show us some more standard query operators in LINQ provided by the .NET Framework.

Some More Standard Query Operators
12:00

The first time .NET Framework was announced, the flow of the program was executed sequentially. The drawback of this execution flow is that our application has to wait for the operation to finish before executing the next operation. Let’ see how we can solve this problem.

Preview 05:42

The asynchronous programming model (APM) is an asynchronous operation that uses the IAsyncResult interface as its design pattern. It's also called the IAsyncResult pattern. With the help of this video, we’ll get to know about asynchronous programming model in detail.

The Asynchronous Programming Model Pattern
05:24

The task-based asynchronous pattern (TAP) is a pattern that's used to represent arbitrary asynchronous operations. The concept of this pattern is to represent asynchronous operations in a method and combine the status of the operation. Let’s learn a bit more about TAP model.

The Task-Based Asynchronous Pattern
05:03

The async and await keywords were announced in C# 5.0 and became the latest things in C# asynchronous programming. This video will help us learn about async, await keywords and asynchronous functions.

Asynchronous Programming and Asynchronous Functions
03:26
About the Instructor
Packt Publishing
3.9 Average rating
7,241 Reviews
51,766 Students
616 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.