public static void Main(string[] args) { var v = "from main"; var r = new Refstr();// { s = v }; r.s = v; test(r);; v = r.s; Console.WriteLine("Hello World!\n"); Console.WriteLine(v); var sm = new TestControl(); sm.Run(); }
static void test(Refstr r) { r.s += "!test"; }