Optional Parameters and Named Arguments in C#
How to declare optional parameters with default values in C#, call them with named arguments, and avoid the versioning trap that comes with them.
How to declare optional parameters with default values in C#, call them with named arguments, and avoid the versioning trap that comes with them.
What the dynamic keyword does in C#, how it differs from var and object, where it is still useful, and why most modern code avoids it.
Match, extract, replace and split text with Regex in C#, use source-generated regex in .NET 7+, and look up the pattern syntax in one table.
Capture the primary screen, every monitor or a single form in C# with Graphics.CopyFromScreen, and avoid the DPI scaling trap that crops screenshots.
Why Bitmap.GetPixel and SetPixel are slow, and how to process pixels hundreds of times faster with LockBits, Span