Beispiel #1
0
        public void DoTestRef()
        {
            TestRef testRef = new TestRef();

            testRef.Name = "1";
            Console.WriteLine(testRef.Name);
            ChangeName(testRef);
            Console.WriteLine(testRef.Name);

            string sint = "";

            ChangeName(sint);
            Console.WriteLine(sint);
        }
Beispiel #2
0
 public void ChangeName(TestRef testRef)
 {
     testRef.Name = "testRef";
 }