using System;
using System.Reflection;
class MyMainClass
{
static void Main()
{
Module[] moduleArray;
moduleArray = Assembly.GetExecutingAssembly().GetModules(false);
Module myModule = moduleArray[0];
Console.WriteLine("myModule.ToString returns: {0}", myModule.ToString());
}
}