Blog
Page 9 of 21
2023-11-05 csharpdotnetdotnet-8
.NET 8 performance: 10x faster GetGenericTypeDefinition
Benchmarking GetGenericTypeDefinition in .NET 8 vs .NET 7 shows nearly 10x faster performance. See benchmark code and results using BenchmarkDotNet.
2023-11-04 csharpdotnet
How to take a screenshot in .NET core
Learn how to capture a screenshot of your entire desktop from a .NET console application using System.Windows.Forms. Windows-only solution covering all displays.
2023-11-03 informational
Kebab case – everything about it and more
Kebab case is a naming convention used in programming to format variable, function, or file names by separating words with hyphens (“-“). It is also known as “kebab-case”, “hyphen-case”, or “spinal-case”. For example, if you have a variable representing a person’s first name, you would write it in kebab case as: In kebab case, all…
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
How to access private members without reflection in C#
Learn how to access private members in C# without reflection using the UnsafeAccessor attribute introduced in .NET 8, with zero overhead.
2023-10-30 flutter
How to fix: MissingPluginException – No implementation found for method getAll
Fix the MissingPluginException in Flutter release builds. Covers ProGuard configuration, plugin registration, minSdkVersion, clean builds, and known package conflicts.
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.