[go: up one dir, main page]

Skip to content
@CSharp-Pills-15mg

C# Pills 15mg

Pinned Loading

  1. Lock-vs-Monitor Lock-vs-Monitor Public

    A 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?

    C# 1

  2. Boxing-and-Unboxing Boxing-and-Unboxing Public

    Are the boxing and unboxing processes really as time consuming as it is said?

    C#

  3. Virtual-in-Constructor Virtual-in-Constructor Public

    This pill demonstrates why it is not a good idea to call abstract or virtual methods from the constructor.

    C# 1 1

Repositories

Showing 10 of 14 repositories
  • String-Building Public

    What is the performance differences between string concatenation and StringBuilder and string constructor?

    CSharp-Pills-15mg/String-Building’s past year of commit activity
    C# 0 GPL-3.0 0 0 0 Updated Oct 12, 2023
  • Inversion-of-Control Public

    Shows how to invert the dependency between two components.

    CSharp-Pills-15mg/Inversion-of-Control’s past year of commit activity
    C# 0 0 0 0 Updated Dec 14, 2022
  • Disposable-Pattern Public

    The support provided by .NET for reliably release the unmanaged resources, like manually allocated memory.

    CSharp-Pills-15mg/Disposable-Pattern’s past year of commit activity
    C# 0 1 0 0 Updated Dec 6, 2022
  • Parallel-Evolution Public

    My target for this pill is to explain the `async-await` construct by presenting a short history of parallel programming.

    CSharp-Pills-15mg/Parallel-Evolution’s past year of commit activity
    C# 1 1 0 0 Updated Dec 6, 2022
  • Random-Problems Public

    What actually happens when we use a Random instance from multiple threads? Can we do something to make it thread-safe?

    CSharp-Pills-15mg/Random-Problems’s past year of commit activity
    C# 0 1 0 0 Updated Dec 16, 2021
  • Getters-and-Setters Public

    A C# Pill that tries to answer the question: Is a property in C# just a collection of two methods?

    CSharp-Pills-15mg/Getters-and-Setters’s past year of commit activity
    C# 1 GPL-3.0 0 0 0 Updated Dec 12, 2021
  • Object-Initialization-in-CSharp Public

    A C# Pill that highlights the order in which the fields, properties and constructors, both static and instance, are initialized in C#.

    CSharp-Pills-15mg/Object-Initialization-in-CSharp’s past year of commit activity
    C# 1 GPL-3.0 1 0 0 Updated Nov 12, 2021
  • Queryable-vs-Enumerable Public

    A 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.

    CSharp-Pills-15mg/Queryable-vs-Enumerable’s past year of commit activity
    C# 0 GPL-3.0 0 0 0 Updated Nov 12, 2021
  • Using-vs-Try-Finally Public

    A C# Pill to demonstrate that there is no functional difference between a 'try-finally' block, a 'using' block and a 'using' declaration.

    CSharp-Pills-15mg/Using-vs-Try-Finally’s past year of commit activity
    C# 0 GPL-3.0 0 0 0 Updated Nov 11, 2021
  • Virtual-in-Constructor Public

    This pill demonstrates why it is not a good idea to call abstract or virtual methods from the constructor.

    CSharp-Pills-15mg/Virtual-in-Constructor’s past year of commit activity
    C# 1 GPL-3.0 1 0 0 Updated Nov 11, 2021

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…