C#文法:C#でラムダ式を書く方法Part1【基礎編】
Learn lambda expressions, delegates, predicates, Action, and Func in C#. Master concise code with this practical guide.
Course Content
C#文法:C#でラムダ式を書く方法Part1【基礎編】 is an intermediate-level Udemy course taught by ピーコック アンダーソン. It runs 1h 55m, is taught in Japanese, and includes a certificate of completion. Learners rate it 4.6 out of 5 from 1,018 reviews, with 4,271 students enrolled. It is a paid course, last updated February 2024.
C# Lambda Expressions: A Comprehensive Guide for Beginners
Welcome! Peacock Anderson here. This course dives deep into C# lambda expressions, a topic with high demand! If you've ever been intimidated by concise code like s => s.Length == 5, you're not alone. We'll break down the complexities, starting with the fundamental concept of delegates and tracing the history of C# to build a solid understanding of lambda expressions.
To keep things organized, we've divided this course into two parts: a foundational basics section and a more advanced section covering LINQ and lambda functions. If you're new to lambda expressions, start with Part 1: Basics.
Here's a detailed look at what we'll cover:
- #01_はじめに (Introduction): An overview of what lambda expressions are and why they're essential in C#.
- #02_プロジェクトの作成 (Project Creation): Setting up your C# development environment.
- #03_ラムダなしで実装 (Implementation without Lambda): Understanding the logic before using lambda expressions.
- #04_ラムダなしで実装_共通関数 (Implementation without Lambda - Common Functions): Implementing common functions without using lambda syntax.
- #05_ラムダなしで実装_引数追加 (Implementation without Lambda - Adding Arguments): Adding parameters to functions before exploring lambda expressions.
- #06_デリゲートを定義する方法 (How to Define Delegates): A deep dive into delegates, the building blocks of lambda expressions.
- #07_デリゲートの使い方 (How to Use Delegates): Practical examples of using delegates in C#.
- #08_デリゲート_引数2つ (Delegates - Two Arguments): Working with delegates that accept two arguments.
- #09_匿名メソッドの使いかた (How to Use Anonymous Methods): Understanding anonymous methods as a precursor to lambda expressions.
- #10_Predicate(プレディケート)の使い方 (How to Use Predicates): Exploring the
Predicatedelegate and its use in filtering. - #11_ラムダ式の書き方 (How to Write Lambda Expressions): The core of the course – learning the syntax of lambda expressions.
- #12_ラムダ式の実装 (Implementing Lambda Expressions): Putting lambda expressions into practice.
- #13_FuncとActionとは (What are Func and Action?): Understanding the predefined delegate types
FuncandAction. - #14_Funcの実装とラムダ式複数パラメータの書き方 (Implementing Func and Writing Lambda Expressions with Multiple Parameters): Using
Funcwith multiple parameters and lambda expressions. - #15_ラムダの右辺が複数行の時の書き方 (How to Write Lambda Expressions with Multi-line Right-hand Sides): Handling complex logic within lambda expressions.
- #16_Actionのパラメータありの実装 (Implementing Action with Parameters): Using
Actionwith parameters. - #17_Actionのパラメータありとラムダ式の書き方 (Implementing Action with Parameters and Writing Lambda Expressions): Combining
Actionwith lambda expressions. - #18_Actionのパラメータなしと引数なしのラムダ式の書き方 (Writing Action with No Parameters and Argument-less Lambda Expressions): Using
Actionwithout parameters and creating lambda expressions without arguments. - #19_コレクションに対する代表的なラムダ式の書き方 (Common Ways to Write Lambda Expressions for Collections): Applying lambda expressions to work with collections.
- #20_カスタムクラスのコレクションに対するラムダの書き方 (Writing Lambda Expressions for Collections of Custom Classes): Using lambda expressions with collections of custom objects.
Mastering C# lambda expressions will significantly improve your code's readability and conciseness. This course provides a structured approach, building from the basics to more advanced applications.
Need a web app built? Hire the team behind TutorialSearch.io
We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.