コード例 #1
0
        public static int ConsumeStruct()
        {
            SomeStruct sd = new SomeStruct();

            sd.Value1 = Data;
            return(StructHelper(sd));
        }
コード例 #2
0
 private static int StructHelper(SomeStruct arg)
 {
     return(arg.Value1);
 }