C# 14: More Implicit Conversions for Span<T> and ReadOnlySpan<T>
C# 14 introduces new implicit conversions for Span<T> and ReadOnlySpan<T>, reducing boilerplate and improving code readability.
C# 14 introduces new implicit conversions for Span<T> and ReadOnlySpan<T>, reducing boilerplate and improving code readability.
Announcing elbruno.Extensions.AI.Claude v0.1.0-preview.2, a .NET library for integrating Claude AI models with Azure AI Foundry and Microsoft.Extensions.AI.
C# 14 introduces the null-conditional assignment operator, allowing safe property and indexer assignments that skip execution if the receiver is null.
C# 14 introduces breaking changes to LINQ queries. This article explains the issues with Reverse and Contains and provides workarounds.
C# 14 introduces extension members, allowing developers to add properties and static members to existing types, not just methods.
Explains C# 14's new Interceptors feature, allowing compile-time method call replacement without runtime overhead.
A technical guide on retrieving geographic location and weather data from an IP address using C# and a free API service.
Explains a cross-platform quirk in .NET's Uri.TryCreate method where a relative path string is treated as a valid absolute URI on Linux but not on Windows.
Explains how to capture console output in xUnit.v3 tests using the new CaptureConsoleAttribute assembly-level attribute.
Explains the new null-conditional assignment operator in C# 14, a feature for safer null handling in .NET development.
Learn how to use the Microsoft Agent Framework for .NET to create AI agents with persistent memory across sessions using persisted threads.
Analyzes common flaws in C# ArrayPool benchmarks, explaining how JIT optimizations can invalidate results and how to fix them.
Introducing wastrel, a new WebAssembly compiler that converts Wasm to C and then to native binaries, with goals for WasmGC support and WASI compatibility.
A comparison of the new TUnit framework with xUnit and NUnit for C# unit testing, covering features like parallel execution and a unified [Test] attribute.
Explores advanced .NET string handling techniques like SearchValues<T> for performance and FormattableString for formatting.
Analyzes a LinkedIn post's claim about C# Random() being 'evil', explaining its evolution from .NET Framework to modern .NET's Xoshiro256** implementation.
Explains the new 'field' keyword in C# 14, which provides access to the auto-generated backing field of a property, bridging the gap between auto and full properties.
Build a FastAPI service using Microsoft's MarkItDown library to convert PDFs and documents to Markdown, containerized in Docker with a C# client.
Explores how inlining and structs in C# interact to optimize performance, focusing on method call overhead and struct copying.
Explores integrating C++ objects with non-trivial destructors into arena allocators, maintaining RAII and exception safety.