示例#1
0
        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();
        }
示例#2
0
 static void test(Refstr r)
 {
     r.s += "!test";
 }