Exemple #1
0
        private static void RefDemo()
        {
            Compound x = new Compound();
            int      i = x.NumberOfTimesMixed;

            x.Mix(ref i);
            x.NumberOfTimesMixed = i;
            //x.Mix(ref x.NumberOfTimesMixed);
            Console.WriteLine(x.NumberOfTimesMixed);
        }