#extensionmethods — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #extensionmethods, aggregated by home.social.
-
via @dotnet : C# 14 – Exploring extension members
https://ift.tt/ozDl1cs
#CSharp14 #ExtensionMembers #Coding #SoftwareDevelopment #Programming #DotNet #CSharp #ExtensionMethods #StaticProperties #InstanceProperties #CodeQuality #DeveloperCommunity #TechUpdates #… -
@DoctorDNS @sasstu it's already in .NET -- but the #PowerShell team does not enable basic #dotnet functionality if it came out after .NET 2.0 -- so you don't have access to #ExtensionMethods unless you map them into the .NET 1.0 era "ETS"
Here's the method in .NET:
https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.getvalueordefault?view=net-7.0Here's the pre-github era feature request:
https://github.com/PowerShell/PowerShell/issues/2226