Properties in C# are basically a midpoint between fields and methods (with a few added benefits from what I've heard) so you can just use them for the intended purpose, or use them to replace any method with one of the following (as long as you don't intend to use it as a delegate): a void return type (set, probably with an array of objects), no arguments (get, also probably the intended purpose), or multiple arguments and a non-void return type (set, although it functions more similarly to using reference arguments).
0
u/[deleted] Jul 08 '19
[deleted]