Custom memory allocation in C# Part 14 — Unsafe code without unsafe keyword

This is the fourteenth part of the Custom memory allocation series. For your convenience you can find other parts in the table of contents in Part 1 — Allocating object on a stack This whole series is about unsafe operations and manual memory managing. However, all the things I’ve shown can be done with no … Continue reading Custom memory allocation in C# Part 14 — Unsafe code without unsafe keyword

.NET Inside Out Part 26 – Multiple identity inheritance in C#

This is the twentieth sixth part of the .NET Inside Out series. For your convenience you can find other parts in the table of contents in Part 1 – Virtual and non-virtual calls in C# We know C# has multiple signature (interface) and implementation inheritance. The latter doesn’t support full polymorphic invocations, though, but we … Continue reading .NET Inside Out Part 26 – Multiple identity inheritance in C#

Types and Programming Languages Part 5 – Sleeping and measuring time

This is the fifth part of the Types and Programming Languages series. For your convenience you can find other parts in the table of contents in Part 1 — Do not return in finally How do you sleep in your application? There are multiple solutions, most of the times similar to Thread.Sleep which synchronously blocks … Continue reading Types and Programming Languages Part 5 – Sleeping and measuring time

Types and Programming Languages Part 4 – Diamond problem

This is the fourth part of the Types and Programming Languages series. For your convenience you can find other parts in the table of contents in Part 1 — Do not return in finally The Diamond Problem, sometimes called Deadly Diamond of Death, is a problem in which we inherit the same thing through multiple … Continue reading Types and Programming Languages Part 4 – Diamond problem