public static void Main() { var s = new AlignmentStruct { us = 1, choice = TestEnum.ERROR }; var s2 = TestAlignment(s); Console.WriteLine("Result: {0} {1}", s2.us, s2.choice); }
public static void Main () { var s = new AlignmentStruct { us = 1, choice = TestEnum.ERROR }; var s2 = TestAlignment(s); Console.WriteLine("Result: {0} {1}", s2.us, s2.choice); }
public static extern AlignmentStruct TestAlignment(AlignmentStruct s);