Weak events in C#, take two
An improved implementation of the weak event pattern in C# to prevent memory leaks, focusing on performance and API design.
An improved implementation of the weak event pattern in C# to prevent memory leaks, focusing on performance and API design.
Explains the key advantage of C# 6 exception filters: they preserve the call stack for debugging by not unwinding it when a filter condition fails.
Explores how C# 6.0 features, like the nameof operator, help developers write safer, less error-prone code by preventing common mistakes.
Explains how to use ReSharper's code annotation attributes to improve static analysis and code quality in C# development.
A C# programming puzzle testing understanding of the 'out' parameter keyword and variable assignment.
Explores advanced C# 6 string interpolation, covering IFormattable conversion for custom formatting like culture control and URL encoding.
Explores writing asynchronous unit tests in NUnit, comparing async void vs. async Task methods and detailing NUnit 2.6's internal handling.
Explains how to use Reactive Extensions (Rx) to sample high-frequency C# events like TextChanged in WPF, reducing UI updates.
Discusses the misuse of guard clauses in code, arguing for domain-specific exceptions over generic null checks.
Explains performance issues with ToArray/ToList and proposes a custom extension method to optimize them by providing the element count.
A tutorial on how to write your own malloc memory allocator in C, explaining core concepts and providing sample code.
Explores C# string interpolation and a custom StringTemplate library for named placeholders, useful for localization and readability.
Explains a workaround for passing parameters by reference to async methods in C# using a custom Ref<T> class.
A method to automate unit testing for null argument validation, reducing repetitive test code for methods with multiple parameters.
Developer announces joining the Xamarin team to work on Xamarin.Forms, focusing on cross-platform mobile development with C#.
Discusses the importance of naming conventions and coding style for readability and productivity, with examples from SQL and C++.
Explains how commercial mocking tools like Typemock and JustMock mock sealed classes and static methods using the .NET Profiling API.
A software engineering intern details their summer project optimizing an octree in C++ and using it to simplify 3D meshes by removing invisible triangles.
A technical guide on implementing Bluetooth background tasks for a Windows Phone 8.1 app to connect to an ELM327 car adapter.
Introduces Xamarin.Forms.Labs, a community-driven toolkit extending Xamarin.Forms for cross-platform mobile development with C# and XAML.