Example #1
0
        public static int ConsumeStruct()
        {
            SomeStruct sd = new SomeStruct();

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