Andrei Pobega
Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. The setting and getting of values in an instance of a class is a very common pattern in C# programming. In fact, .NET has a mechanism called properties that allows the coder to call set and get methods. There are still get and set methods implemented and being run behind the scenes, it's simply that properties look nicer than having get and set methods scattered through the code. In addition to making the code cleaner, the .NET properties feature also encodes the semantics of being able to set and get properties of an instance. In this course, you'll learn how to use properties to improve the interface of your classes. You'll examine the motivation for properties and learn how to expose a private field as a property. Finally, you'll explore how to define an automatic property and set properties in an object initializer. This course was originally created by Global Knowledge (GK).
Issued on
June 10, 2024
Expires on
Does not expire