# Lazy properties without compromises in C#

Mar 1, 2018
4 minute read

The Lazy pattern is very helpful and widely adopted. However, most of the times its usage comes with compromises: the code looks ugly, it is not thread-safe, locks everywhere. The book Functional Programming in Java contains a great implementation of the Lazy pattern. This post is my attempt to explain the C# implementation.