Пример #1
0
 public void ShootALargerPistol(string type, int oldSize, ShootPistol another)
 {
     another(" I Shot a " + type + " pistol at caliber " + (oldSize + 5).ToString());
 }
Пример #2
0
        public Pistols()
        {
            ShootPistol myPistol = ShootAPistol;

            ShootALargerPistol("SmithAndWesson", 45, myPistol);
        }