KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Why do I see people implement properties like this? What is the point of checking if the value is equal to the current value? public double? Price { get { return _price; } set { if (_price == value) return; _price = value; } }
Tags (comma-separated)
Save Edits
Cancel