Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace OOP_SecondPart
- {
- public class Gun
- {
- // internal
- // internal protected
- // protected
- protected string Name;
- protected int CountPatron;
- public virtual void Shoot()
- {
- Console.WriteLine("Paw!!!");
- }
- public void Reload()
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement