Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
内部にいくつかのクラスを持つchannels。チャネルごとに、同じ値を読み書きできます。
channels
int channel = 2; var value = obj.GetValue(channel); obj.SetValue(channel, value + 1);
これをすべて実装するGettersとSetters混乱C#しますproperties。これを行うためのより良いアプローチはありますか?
Getters
Setters
C#
properties