- 192 名前:デフォルトの名無しさん mailto:sage [2014/04/24(木) 21:20:16.41 ID:DE2OqBZn]
- 誤爆った
public struct A{ public static string str; public struct B{ public static string str_b1; public static string str_b2; } public class Class{ public string c_str; } public static Class C = new C(); public static Class[] D = new D[2]{ new D(), new D() }; } こんな構造体があるとして A.B.str_b1; A.B.str_b2; A.C.c.str; A.D[0].c_str; A.D[1].c_str; foreach的な感じで値取得ってできない?
|

|