using System;
using System.Collections.Generic;
using System.Text;
namespace ch6_3
{
    class refout
    {
        public void Swap(ref int x, ref int y)
        {
            int temp = (x);
            x = y;
            y = temp;
        }
        public void Rand(out int x)
        {
            Random r = new Random();
            x = r.Next(100);
        }
    }
}
