What's New in C# 8.0

preview_player
Показать описание
Several new language features are coming to C# in the next release, included in Visual Studio 2019. Mads Torgersen will give us a quick look at how to avoid null reference exceptions with nullable reference types, how to consume and produce asynchronous streams, and much more.

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

0:34 - 5:34 Nullable reference types
5:35 - 7:48 Async streams
7:49 - 8:46 Array slice

Thank you and best wishes to you and your team Mads, happy holidays from Aarhus.

SergiuTalnaci
Автор

The switch expressions look so clean, basically like a truth table. Thats awesome!

fuzzylilpeach
Автор

i used javascript, python, php, java. But i enjoyed alot to work with C# in its own best IDE visual studio. C# gives real understanding how programming language work in more disciplone way. Thumbs Up guys and Thank you for your great gift of C# 8.0.

MuhammadAhmed-vixt
Автор

It is an amazing time to be a C# programmer!

RobProuse
Автор

C# 10.0 will read your mind:

var person = new ("John", "Connor");

elzurotsyry
Автор

Just can't leave C#. The best modern programming language paired with the best IDE.

ezscootrr
Автор

first 4 minutes is programming life in a nutshell... gets a bug, solved it.... puts in feature, gets 10 more bugs

dr.joint
Автор

Was using Python yesterday for Advent of Code and thought that it would nice if we got array slicing for C#. Nice timing lol. Looks good!

Trillykins
Автор

The way this team executes on adding new features to this language is really excellent. I remember Anders talking about non-nullable reference types years ago, and they figured out how to do it in such an elegant way. Good stuff!

AnuragJ
Автор

Where is C# going? This is so absurdly good that I cannot believe all these are real (beginning from C# 7.0).

ozgurakpinar_gr
Автор

Nullable-reftypes are amazing, thanks for that.

ThomasPoth
Автор

I am profoundly thankful to the past me who decided to learn C# instead of *other languages*

washington
Автор

I think C# is the most elegant language out there today.

raykoone
Автор

These features look amazing. I've been following the more abstract discussions on csharplang, but actually seeing the features used in a project is so much cooler.

TheUnlocked
Автор

Non-nullable references, null-warnings for nullable references, async streams, better inference for new, and FINALLY switch expressions with patterns and exhaustiveness checking.

C# is getting more and more functional, and taking notes from other functional and functionally-inspired languages like Scala, MLs, Haskell, or Rust (or F# ;P)

Hoping C# will get something similar to Rust's Enums (like type-safe tagged unions) or Scala's Case Classes.

All these code readability, expressiveness, and conciseness improvements, in addition to type-safety improvements (null is now completely a type-system thing) really make C# a language I _WANT_ to code in.

And that's from a usually mainly Linux guy who mostly codes in C, Python, JavaScript and Rust, and usually only C# at internships.

TheFerdi
Автор

Wow! These are awesome additions. I like the way C# is going!

bertye
Автор

Great new features Mads, all of it is stuff I've always wanted. Keep elevating C# to new levels and bringing us more awesome stuff to play with.

vector_____
Автор

Thank you guys for taking such good care of us. :)

abdrif
Автор

i can easily say the best language of this time!!

alinawaz
Автор

Some great things. Really looking forward to the nullable reference types. This is an amazing thing that has been missing from the mainstream OO languages. Especially like the subtle yet clear and consistent syntax.

I almost want it to give errors instead of warnings. Almost.

eriknystrom
join shbcf.ru