Everything You Wanted to Know About Multiline Strings
Compare five ways to write multiline strings in C#, from escape characters and verbatim strings to raw string literals introduced with C# 11.
C# language feature deep dives, including Roslyn analyzers, UnsafeAccessor, and techniques for making reflection-heavy code safe under Native AOT.
Showing 115–120 of 127 articles
Compare five ways to write multiline strings in C#, from escape characters and verbatim strings to raw string literals introduced with C# 11.
Learn how C# records reduce DTO boilerplate and how setting LangVersion with PolySharp enables record syntax in projects targeting older .NET frameworks.
Most intermediate dotnet devs writing async await code in C# will come across async void at some point. Here's a creative solution for avoiding the headaches.
Get a beginner friendly walkthrough of C#'s core simple data types, covering int, float, double, byte, char, bool, and string with code examples.
Compare Tasks, BackgroundWorkers, and Threads in C# through working code examples that show how each approach handles concurrent programming scenarios.
A recap of the first C# Dev Connect meetup featuring an introductory talk on threading basics in C#, complete with sample code shared on GitHub.