namespace ReflectNamespace
{
//reflection_rlt.cs
//from special edition using C#
using System;
public class MyTest
{
private int n;
public MyTest(int z)
{
n=z;
}
public int DispMethod()
{
return n+23;
}
public static void Main(string[] args)
{
MyTest t1=new MyTest(10);
Type t2=t1.GetType();
Console.WriteLine("Type of t1 is {0}",t2);
}
}
}