标签: c# reflection
例如,我有以下代码:
public struct Struct1 { public int F1; } public struct Struct2 { public Struct1 S1; } Struct2 s2 = new Struct2();
如何通过反射设置s2.S1.F1的值?谢谢!