示例#1
0
        static void Main(string[] args)
        {
            var random   = new Random();
            var malha    = new Malha(10, 10);
            var sonda1   = new Sonda(1, 1, 2);
            var sonda2   = new Sonda(2, 3, 3);
            var controle = new Controle(malha);

            Console.ReadKey();
        }
示例#2
0
 public Controle(Malha malha)
 {
     this.malha = malha ?? throw new ArgumentNullException(nameof(malha));
 }