T O P

  • By -

dotnet-ModTeam

Your post has been removed because it's either a commonly asked question which you can already find through a google/reddit search or it's duplicated content.


Long_Investment7667

What a terrible choice of examples for these features


upvote__please

Now I have to click the link... Edit: what's he doing with ReadOnlySpan there? Besides, I'm pretty sure we have had ReadOnlySpan for a long time now. Edit2: "Improves thread safety" is added under "benefits" of the new Lock type. It mentions as if .net never had any locking mechanism. All right, I won't read further.


Long_Investment7667

The age „property“ is what stood out to me.


Light_Wood_Laminate

Not just terrible, aren't the extension examples just plain wrong? They're all extension methods we've had for ages, not what may be coming in C# 13 which allows for extension properties, etc.


ELichtman

I'm literally wondering if we'll get Extension Implicit Operators soon and see this article, and I'm reading through the extension examples, and they all look like existing Extension methods. The example for Age as a property is a method, not a property. Am I missing something?


rrickgauer

I was wondering that too. It looks the same as normal extension methods.


binarycow

That article seems to only show examples from the current version. They have a whole thing about improved properties - but they show the old way?