Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace TextAdventure
- {
- class containerTextUtilities : Demo_ONE
- {
- public void TestBASE()
- {
- Console.WriteLine(": BASE :");
- }
- }
- class Demo_ONE : Demo_TWO
- {
- public void TestONE()
- {
- Console.WriteLine(" : TestONE :");
- }
- }
- class Demo_TWO
- {
- public void TestTWO()
- {
- Console.WriteLine(" : TestTWO :");
- }
- }
- class TextAdventure
- {
- static void Main(string[] args)
- {
- containerTextUtilities TextUtilities = new containerTextUtilities();
- TextUtilities.TestBASE();
- TextUtilities.TestONE();
- TextUtilities.TestTWO();
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment