Learn C# with CSharpFritz - Ep11: New Features in C# 9

preview_player
Показать описание
.NET 5 is released and C# 9 is here! Let's talk about the new features of C# 9 and tinker with some code to see how it can benefit our applications.

Questions:
00:05:49 - Why use C# over C++?
00:08:44 - How do you configure .NET3.1 and .NET5 to work side by side on a Linux server?
00:10:39 - Is C# a good gateway development language into others?
00:12:16 - Does C# 9 produce code that is more efficient just by recompiling applications?
00:13:35 - Is VB at the same level of C# ?
00:15:24 - Is the syntactic sugar C# 9 brings bad for performance?
00:24:26 - Can I still use .NET Standard dlls with .NET 5?
00:34:39 - Does the constructor/assignment syntax work on a normal class as well?
00:37:38 - Could you say a Record type sugarcoats Class types?
00:39:37 - Is C#9 support going to be exclusive to .NET 5
00:40:44 - Are the any breaking changes from C#8 to C#9?
00:42:49 - Is there a way to use C#9 on UWP?
00:55:59 - Are generics supported with record types?
00:57:13 - Are records and anonymous objects related in any ways?
01:02:13 - Can you have init and set defined separately?
01:05:14 - Can you use backing fields with init?
01:12:50 - What if you have two files with top-level statements in a project?
01:13:48 - Do you lose the ability to pass in arguments with top-level statements?
01:16:16 - When would you use top-level statements and not a unit test project?
01:17:57 - How we can execute top-level statements from other files/classes/methods?

Рекомендации по теме
Комментарии
Автор

50:09 Records deconstruction and cloning.

nakigoe_org
Автор

"CSharpFritz" bester Name EVER!

SimonPucher
Автор

You have absolutely brilliant tutorials! What application do you use for streaming? You have vs code as background, with your webcam etc. that’s cool ;)

codekop
Автор

When is C# debugging coming to ARM devices like surface pro the moment the .NET SDK 5 for ARM64 installs fine...VS Code is native but the C# extension omnisharp extension doesn't support debugging. Why is msft not making an official version of the extension?

shashankakotha
Автор

1:36:00 why and and not && ?
Readability is not improved if y need to add a new operator

Eagler
Автор

I'm installing vs 2019. And then the new sdk. Can't wait to test it out personally ☺️

danielvelkov
Автор

What is global practical appliance for records? I mean it wasn't like somebody from c# designers got up morning with idea "what a nice day let's create new types almost like classes but 'different' ", there should be valuable idea or direction behind, shouldn't it?

alexzzz
Автор

*switch expression, not switch statement

positronalpha
Автор

When is C# debugging coming to ARM devices like surface pro the moment the .NET SDK 5 for ARM64 installs fine...VS Code is native but the C# extension omnisharp extension doesn't support debugging. Why is msft not making an official version of the extension?

shashankakotha