static void Main(string[] args) { List <int> rightHand = new List <int> { 1, 2, 3 }; List <int> lefttHand = new List <int> { 7, 8, 9 }; int number = new Random().Next(10); bool isRightHand = rightHand.Contains(number); IShoot shoot = new RightHand(); shoot.DisplayShooting(); }