2010-01-20から1日間の記事一覧
class P { public static void Method(out string arg) { arg = "out"; throw new Exception(); } } if you call P.Method() directly, Exception will be thrown and you can get a string "out".if you do it through reflection: object[] args = new obj…