News
In this article we’ll look at how we can perform lazy initialization in C#. Let’s understand lazy loading with a simple example. Consider two classes, Customer and Order.
In C# 6.0, you can also initialize that property to some constant value in the same statement, like this: public string LastName { get; set; } = "Vogel"; Yes, it's that simple. Posted by Peter Vogel ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results