What'S New In C# 8.0: Must Know For Every Developer

Posted By: ELK1nG

What'S New In C# 8.0: Must Know For Every Developer
Published 9/2022
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 597.11 MB | Duration: 1h 30m

Learn all C# 8.0 New Features with Demo and Use them in Interviews and Project

What you'll learn
Learn all New Features of C# 8.0 with Demo
Interface in C# 8 so many new features. Now, Interface members can have body. They can also have static members, static constructor, access modifiers, etc..
You can avoid the Null Reference Exception completely from your application. The compiler in C# 8 will tell you the possibility of Error at compile time
Forget the old way of using switch statement, Instead learn the new and modern way to write switch statement without case and default keywords.
You will learn how to Reduce the number of If statement using the Property Pattern
Tuple pattern allows us to match the complex logic in very simple manner and using very less code
Learn about new Null-Coalescing Assignment Operator
Learn about how to use Local Static Methods in C# 8
You can get the array (sequence) value using index from end. There is a new symbol to get the data from end and reduce your code length.
Now getting a Subsequence from main Sequence is very simple using the Range operator
And So much more…
Requirements
Basic Understanding of C# Programming Language
Description
C# 8.0 was introduced with DotNet Core 3.0 with so many great improvements and features. There are so many changes in Interfaces, Pattern Matching, Handling Null Reference exceptions, and added some new Operators.All these C# 8 features are must learn and use in your projects. C# 8 Features will help you to write complex logic with minimum code.C# Latest Features (C# 8.0)Interface: Interfaces in C# 8.0 allows us to write member body, static fields, static constructor, constants, access modifiers (public, private, internal, etc) and so many other features.Nullable Reference Type:Nullable reference type allows us to avoid Null Reference Exception at the compile time. C# developers can enable/disable the nullable features on project/file levels. If the Nullable reference type is enabled then the compiler will give a warning whenever there are possibilities of a null error.Switch Pattern Matching:Switch pattern matching allows the C# developers to write the switch statement without using the case, or default keywords. This will allow us to focus only on logic rather than unnecessary keywords.Property Pattern MatchingTuple Pattern Matching:Tuple pattern matching in C# allows us to write complex logic with very less code. This is easy to write, read and clean code.Null-Coalescing Operator:Null-Coalescing Operator is a new operator added in C# 8. This Null-Coalescing Operator allows the C# developers to assign the right side expression only if the left-hand side value is null. (Very Useful)Indices and Range:There is a new way to get the sequence value from the end instead of array.length-1. And the Range is a new operator. The Range operator is used to get the subsequence from a sequence with start and end boundaries.Static Local Functions

Overview

Section 1: Introduction

Lecture 1 Introduction

Section 2: Interface in C# 8

Lecture 2 How we used to work with Interfaces before C# 8.0

Lecture 3 New features of Interfaces in C# 8.0

Lecture 4 Demo: Default Interface Members

Lecture 5 Demo: Interface Inheritance with Explicit Implementation

Lecture 6 Demo: Working with Static Members in Interfaces

Lecture 7 Demo: Static Constructor in Interfaces

Lecture 8 Demo: Using Access Modifiers on Interface Members

Lecture 9 Demo: Using Constants in Interface

Section 3: Nullable Reference Type in C# 8.0

Lecture 10 Introduction to Null Reference Type

Lecture 11 Demo: What's the Problem if we are not using Null Reference Type

Lecture 12 Demo: How to Enable/Disable Null Reference Type in C# 8 (2 Ways)

Lecture 13 Demo: Working with Null Reference Type

Lecture 14 Demo: Methods with Null Reference Type

Lecture 15 Demo: Enable/Disable Null Reference Type in a Specific File

Section 4: Pattern Matching: switch Pattern (New Way of Writing Switch Statement)

Lecture 16 Demo: Switch Pattern in C# 8.0 | The New Way of Writing Switch Statement

Lecture 17 Demo: Switch Pattern in C# 8.0 With Enum | Example 2

Section 5: Pattern Matching: Property Pattern

Lecture 18 Demo: What is Property Pattern Matching? Learn with an Example.

Lecture 19 Demo: How to Use Multiple Properties for Pattern Matching

Lecture 20 Demo: Nested Property Pattern Matching

Lecture 21 Demo: Less Than (<) and Greater Than (>) Operators In Property Pattern Matching

Lecture 22 Demo: Property Pattern Matching With Switch Pattern

Section 6: Pattern Matching: Tuple Pattern

Lecture 23 Demo: Tuple Pattern Matching in C# 8.0

Section 7: Null-Coalescing Assignment Operator (??=)

Lecture 24 Demo: Null-Coalescing Assignment with Field

Lecture 25 Demo: Null-Coalescing Assignment with Collection

Section 8: Static Local Functions (Methods)

Lecture 26 Demo: Using Static Local Function

Lecture 27 Demo: Using Static Local Function Example 2

Section 9: Indices and Range

Lecture 28 Introduction to Index and How to Use New Operator ^ (Index From End)

Lecture 29 Demo: Practical Example of Index and New Operator ^ (Index From End)

Lecture 30 Demo: Working with Range (..) Operator in C# | Must Learn

Lecture 31 Demo: 4 Ways to Use Range Operator in C# Application

Lecture 32 Demo: Assigning Indices and Rang operators to C# Variable

C# Developers who wants to stay up to date with Latest features of C#.,C# Professionals who wants to learn writing the High Quality Code,C# Professionals who wants to improve the application Architecture with latest features.,C# Developers who wants to achieve more in less code