Regular Expressions in C#: 3 Examples You Need to Know
Check out these 3 simple examples of regular expressions in C#! If you're new to regex and coding in CSharp, these are a perfect starting point for you!
In-depth C# and .NET tutorials covering structured logging with Serilog, building Roslyn analyzers, NuGet packaging, and other core language and tooling topics.
Showing 157–162 of 264 articles
Check out these 3 simple examples of regular expressions in C#! If you're new to regex and coding in CSharp, these are a perfect starting point for you!
Regular expressions are powerful for pattern matching, but what are the regex options in C# that we have access to? What do they do and how can we use them?
Check out these benchmarks measuring collection initializer performance in C#. How the heck did I speed up C# collection initialization by 87%?!
See code examples for C# collection initializers and collection expressions! Compare and contrast the readability of these different examples.
Curious about C# MongoDB insert benchmarks? In this article, I show you BenchmarkDotNet code and the results for several variations of inserting data!
The NuGet package for MongoDB Testcontainers in .NET is Testcontainers.MongoDb. Here is how to install it and spin up a throwaway MongoDB in your C# tests.