using System;
namespace Example
{
public class Wally
{
public static void chat ( string msg )
{
Console.WriteLine ( msg );
}
}
}
namespace HogHeaven
{
public class Program
{
public static void Main(string[] args)
{
Example.Wally.chat ( "Kilroy is here !!" );
}
}
}
// THE END
This code doesn't do anything different than our previous example;
it just gets to the same place in different ways.
You may find it interesting to try different simple things like this and
find out what you can get away with. If you read about something and think
you understand it, try it out and see if you really do.
Tom's Computer Info / tom@mmto.org