在 c# 中有一個包含許多字符串和整數(shù)的大對象。例如:object.something.something = "somestring";object.something2.something = "somestring2";我還有一個 int 表示對象中的一個元素。例如:object.something.1 = "the content of number 1";object.something.2 = "the content of number 2";object.something.3 = "the content of number 3";object.something.4 = "the content of number 4";等等...如果我有一個包含數(shù)字的變量,例如int number = 3;我需要用它來找到 object.something.3
- 1 回答
- 0 關(guān)注
- 148 瀏覽
添加回答
舉報
0/150
提交
取消