Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static void Main(string[] args)
- {
- Human human = new Human("Bill Gates");
- if (!human.IsDead)
- {
- human.Kill();
- }
- Console.WriteLine(human.Name + " " + (human.IsDead ? "killed successfully!" : "could not be killed!"));
- Console.ReadLine();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement