Initialize on the constructor, make use of a non auto property or on c# six and earlier mentioned, use the simplified notation proven inside the approved respond to J0HNJ0HN 27k55 gold badges5858 silver badges8888 bronze badges 5 93 The full context (most-upvoted solution) is good, but this answer was basically https://smartworldeveloper.in/