Tag:csharp
All the articles with the tag "csharp".
Understanding the Builder Pattern in C# - A Practical Guide for Developers
Learn the Builder Pattern in C# with simple and advanced examples, the Director role, fluent chaining and when to use it for complex objects.
Mastering C# Pattern Combinators - Logical AND, OR, NOT, and Beyond with Examples
Explore C# Pattern Combinators to enhance code readability and maintainability. Master logical operators like AND, OR, NOT with practical examples.
How to Upload a File to Network File Share with Credentials using C# (.NET Core)
Copy a file to a Windows network share from C# on .NET Core, using LogonUser and WindowsIdentity.RunImpersonated to supply user credentials.
Store and retrieve settings using IOptions pattern in C#
Manage app settings in .NET using IOptions for type safety, validation, and dynamic configuration updates
Cancellation Token in C# - Explained
A blog post about how to use cancellation tokens in C# for managing and cancelling asynchronous operations, with examples and best practices