static void Main(string[] args) { Console.WriteLine("This is Quiz07"); Shotgun S = new Shotgun(); Rifle R = new Rifle(); Pistol P = new Pistol(); S.purpose(); R.purpose(); P.purpose(); }