/*... WRITE A PROGRAM that contains different
classes but no inheritance....*/
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication15
{
class A
{
public void Show()
{
Console.WriteLine("Show A");
}
}
class B
{
public void Show()
{
Console.WriteLine("Show B");
}
}
class
Demo
{
static void Main(string[] args)
{
A a = new A();
a.Show();
B b = new B();
b.Show();
Console.ReadLine();
}
}
}