Change the repository type filter
All
Repositories list
14 repositories
String-Building
PublicWhat is the performance differences between string concatenation and StringBuilder and string constructor?Inversion-of-Control
PublicShows how to invert the dependency between two components.Disposable-Pattern
PublicThe support provided by .NET for reliably release the unmanaged resources, like manually allocated memory.Parallel-Evolution
PublicMy target for this pill is to explain the `async-await` construct by presenting a short history of parallel programming.Random-Problems
PublicWhat actually happens when we use a Random instance from multiple threads? Can we do something to make it thread-safe?Getters-and-Setters
Public- A C# Pill that highlights the order in which the fields, properties and constructors, both static and instance, are initialized in C#.
Queryable-vs-Enumerable
PublicA C# Pill that highlights that the Linq query applied after a cast to `IEnumerable` is not translated into SQL. Instead, it is run in memory.Using-vs-Try-Finally
PublicA C# Pill to demonstrate that there is no functional difference between a 'try-finally' block, a 'using' block and a 'using' declaration.Virtual-in-Constructor
PublicThis pill demonstrates why it is not a good idea to call abstract or virtual methods from the constructor.Lock-vs-Monitor
PublicA C# Pill that tries to peek under the hood of the `lock` instruction. Is the `lock` statement just a syntactic sugar for the usage of `Monitor` class?Life-inside-await
PublicA tentative of reverse engineering the async-await mechanismLife-after-await
PublicBoxing-and-Unboxing
PublicAre the boxing and unboxing processes really as time consuming as it is said?