Course overview

Mastering LINQ and C#: Your Journey from Beginner to Expert

Course content7 lessons
Introduction to LINQ: Filtering a List of Integers in C# Introduction to LINQ: Filtering a List of Integers in C# Lesson 1 Grouping and Sorting Objects with GroupBy and Aggregating with Average Grouping and Sorting Objects with GroupBy and Aggregating with Average Lesson 2 Selecting a Specific Object with FirstOrDefault in LINQ Selecting a Specific Object with FirstOrDefault in LINQ Lesson 3 Grouping Data with GROUP BY and Navigating Individual Group Containers Grouping Data with GROUP BY and Navigating Individual Group Containers Lesson 4 Projection with SELECT: Creating Objects with Fewer Attributes Projection with SELECT: Creating Objects with Fewer Attributes Lesson 5 Conditional Projection: A SELECT That Integrates IF/ELSE Logic Conditional Projection: A SELECT That Integrates IF/ELSE Logic Lesson 6 Joining Two Collections with JOIN: One-To-Many Relationships in LINQ Joining Two Collections with JOIN: One-To-Many Relationships in LINQ Lesson 7
Previous
Up next Next
Current lesson | Lesson 6/7

Conditional Projection: A SELECT That Integrates IF/ELSE Logic

Mastering LINQ and C#: Your Journey from Beginner to Expert 0%
I'll show you conditional projection in LINQ for C#: a SELECT that integrates IF/ELSE logic to transform data based on conditions, all in a fluent and declarative syntax.
Instructor
G Giovanni Pace
Up next Joining Two Collections with JOIN: One-To-Many Relationships in LINQ