2023-11-02 csharpdotnetdotnet-8 C# How to update a readonly field using UnsafeAccessor Learn how to update a readonly field in C# using UnsafeAccessor, an alternative to reflection without the performance penalty. Available in .NET 8.
2023-11-01 csharpdotnetdotnet-8 .NET 8 Performance: UnsafeAccessor vs. Reflection Benchmarking UnsafeAccessor vs Reflection in .NET 8. See how UnsafeAccessor achieves zero-overhead performance compared to traditional reflection.
2023-10-31 dotnetdotnet-8 C# UnsafeAccessor: private members without reflection (.NET 8) Use the `[UnsafeAccessor]` attribute in .NET 8 to read private fields and call private methods at zero overhead — no reflection, fully AOT-compatible.
2023-10-30 flutter How to fix: MissingPluginException – No implementation found for method getAll Fix Flutter `MissingPluginException` 'No implementation found for method getAll' on shared_preferences and similar plugins (package_info_plus, etc.) — ProGuard, plugin registration, minSdkVersion, hot restart fixes.
2023-10-29 csharpdotnetdotnet-8 C# – How to mark features as experimental Starting with C# 12, a new ExperimentalAttribute lets you mark types, methods, properties, or assemblies as experimental. Learn how to use it with diagnosticId, pragma tags, and UrlFormat.
2023-10-28 csharpdotnet C# – ref readonly parameters The ref readonly modifier in C# provides a more transparent way of passing read-only references. Learn how it improves on the in modifier with better constraints and caller visibility.
2023-10-27 informational What comes after decillion? What comes after decillion? The answer is undecillion, with 36 zeroes. See the full list of large numbers from million to centillion.
2023-10-26 csharpdotnetdotnet-8 C# – How to shuffle an array? The easiest way to shuffle an array in C# is using Random.Shuffle, introduced in .NET 8. It works in-place on both arrays and spans.
2023-10-25 dotnetdotnet-8 System.Text.Json – How to modify existing type info resolver Use the new WithAddedModifier extension method in .NET 8 to easily modify any IJsonTypeInfoResolver serialization contract without creating a new resolver from scratch.
2023-10-24 dotnetdotnet-8 HttpClient get JSON as AsyncEnumerable The new GetFromJsonAsAsyncEnumerable extension method in .NET 8 deserializes HTTP response JSON into an IAsyncEnumerable. Learn how to use it with await foreach.