Oleg Kyrylchuk βœ™ πŸ‡ΊπŸ‡¦ Profile picture
Oct 5, 2021 β€’ 8 tweets β€’ 3 min read β€’ Read on X
A thread about LINQ improvements in .NET 6 🧡

As always, retweets are appreciated 😌

#dotnet6 #linq #coding #devcommunity
Override default value in '*OrDefault' methods.
New 'MinBy', 'MaxBy', 'DistinctBy', 'ExceptBy', 'IntersectBy', 'UnionBy' methods.
'Index' support in the 'ElementAt' method.
'Range' support in the 'Take' method.
Avoiding enumeration with 'TryGetNonEnumeratedCount'.

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Oleg Kyrylchuk βœ™ πŸ‡ΊπŸ‡¦

Oleg Kyrylchuk βœ™ πŸ‡ΊπŸ‡¦ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @okyrylchuk

Dec 25, 2021
EF Core 6.0 new features. 48 code samples.

The biggest thread of mine so far. With sub-threads. The last this year.

It took me almost two months to go through many new features in EF Core 6.

Retweets are appreciated 😊

#dotnet6 #efcore6 #coding #devcommunity
Read 30 tweets
Dec 23, 2021
LINQ query enhancements in EF Core 6.0 thread.

12 features with code samples.

Retweets are appreciated 😊

#dotnet6 #efcore6 #coding #devcommunity
String.Concat translation with 3 and 4 arguments
Read 14 tweets
Nov 2, 2021
A big thread of new APIs in the .NET 6. 🧡

Retweets are appreciated ☺️

#dotnet6 #coding #devcommunity #programming
Reflection API for nullability information.
Reflection API for nested nullability information.
Read 20 tweets
Sep 26, 2021
All my tweets about C# 10 features in one thread. 🧡

Retweets are appreciated 😊

#dotnet #csharp #coding #devcommunity
Read 15 tweets
Sep 6, 2021
Self-contained apps are cool in #dotnet. You can bundle runtime and framework with the app. The downside is the size.

To resolve the size problem you can use app trimming.

.NET 5 introduces multiple options to trim the app.

1/4 🧡

#coding #devcommunity
The assembly-level trimming leaves only used assemblies in the app.

TrimMode=CopyUsed is default when using PublishTrimmed=true.

Result: 10.8 MB.

2/4
The member-level trimming is more aggressive. It removes types and members that are not used.

⚠️ It's an experimental feature. It's not ready for mainstream use.

Result: 2.58 MB.

3/4
Read 4 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(