Skip to main content

What's New in C# 12: A Practical Guide with Exercises

1h 40m 12s
English
Paid

Course description

Hello My name is Hector Perez, Be welcome to the course, "New features in C# 12, a practical guide". I am Microsoft MVP and software developer with more than 10 years of experience

C# is the powerful programming language created by Microsoft, placed among the most popular and used today

The reason, is that with C# you can create almost any type of application, from video games, to mobile applications, to web projects

With the release of a new version of .NET every year, new features are added to C#, making it an increasingly flexible and powerful language

In this course, you will learn about the main features of C# 12, the reason behind the incorporation of each of them into the language, as well as exercises that will allow you to get hands-on to practice what you have learned

At the end of the course, you will know what are the main new features of C# 12 and how to use them in your projects

Read more about the course

Some of the topics that we will see in the course are:

  • Primary Constructors
  • Collection Expressions
  • Optional parameters for lambdas
  • Param array parameters for lambdas
  • Alias any type
  • Among other topics

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 19 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: What are Primary Constructors

All Course Lessons (19)

#Lesson TitleDurationAccess
1
What are Primary Constructors Demo
01:55
2
Primary Constructors - Before and after
05:38
3
Uses for dependency injection
06:24
4
Constructors and base class initialization
04:01
5
Applying Primary Constructors in a project
02:22
6
Solution to Primary Constructors exercise
04:00
7
Motivation of the feature
06:49
8
Using Collection Expressions
03:44
9
The Spread element
02:26
10
Collection Builder
03:45
11
Applying Collection Expressions in a project
02:28
12
Solution to the project implementation
06:34
13
Lambda optional parameters
07:53
14
Array parameters for lambdas
03:59
15
Practice Time
04:01
16
Problem resolution
03:54
17
Alias any type feature
13:12
18
Practice Time
02:24
19
Problem Resolution
14:43

Unlock unlimited learning

Get instant access to all 18 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

Unity RPG Shops & Abilities: Intermediate C# Game Coding

Unity RPG Shops & Abilities: Intermediate C# Game Coding

Sources: gamedev.tv
Using Unity 2020.2, we’ll show you how to include three essential game mechanics, Shops, Special Abilities and Traits, in your games.
18 hours 51 minutes 42 seconds
Learn Blazor Server (Blazor Server: In Depth)

Learn Blazor Server (Blazor Server: In Depth)

Sources: iamtimcorey.com (Tim Corey)
Blazor Server is a game changer for developers. But figuring out how to access the full power of Blazor Server can leave you frustrated. Can it really replace Javascript complet...
16 hours 28 minutes 25 seconds
Microservices Troubleshooting Essentials

Microservices Troubleshooting Essentials

Sources: Julio Casal
Be the first to know when your microservices are having issues in Production and get everything sorted out way before your customers even start noticing.
4 hours 23 minutes 24 seconds
Xamarin Forms: Build Native Mobile Apps with C#

Xamarin Forms: Build Native Mobile Apps with C#

Sources: codewithmosh (Mosh Hamedani)
Do you have an idea for an app and want to turn that into reality? Well, if you want to build that app for iOS, you need to know Objective-C, which is an old, C-based language. ...
7 hours 17 minutes 19 seconds