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