Development ASP.Net Tutorial

<%@ Page language="C#" %>
<%@ Import Namespace="System.Text" %>
<%@ Import Namespace="System.Reflection" %>

 
  
    private string GetAssemblyInfo()
    {
      StringBuilder sb = new StringBuilder();
      try
      {
        string assemblyFile = @"C:\WINNT\Microsoft.NET\Framework\v1.0.3705\mscorlib.dll";
        Assembly assemblyInfo = Assembly.LoadFrom(assemblyFile);
        sb.Append("CodeBase: ");
        sb.Append(assemblyInfo.CodeBase);
        sb.Append("
Location: ");
        sb.Append(assemblyInfo.Location);
        sb.Append("
FullName: ");
        sb.Append(assemblyInfo.FullName);
        sb.Append("
Manifest Resource Names: ");
        
        string[] resourceNames = assemblyInfo.GetManifestResourceNames();
        for (int i=0; i        {
          string name = resourceNames[i];
          if (i>0) sb.Append(",");
          sb.Append(name);
        }
        Type[] types = assemblyInfo.GetTypes();
        foreach (Type typeInfo in types) 
        {
          sb.Append( "

" + typeInfo.FullName + "

");
          sb.Append("Number of Constructors: ");
          sb.Append(typeInfo.GetConstructors().Length.ToString());
          sb.Append("
Number of Properties: ");
          sb.Append(typeInfo.GetProperties().Length.ToString());
          sb.Append("
Number of Fields: ");
          sb.Append(typeInfo.GetFields().Length.ToString());
          sb.Append("
Number of Events: ");
          sb.Append(typeInfo.GetEvents().Length.ToString());
          sb.Append("
Number of Methods: ");
          sb.Append(typeInfo.GetMethods().Length.ToString());
          sb.Append("
Is Class: ");
          sb.Append(typeInfo.IsClass);
          sb.Append("
Is Interface: ");
          sb.Append(typeInfo.IsInterface);
          sb.Append("
Is Enum: ");
          sb.Append(typeInfo.IsEnum);
          sb.Append("
Attributes: ");
          sb.Append(typeInfo.Attributes);
          sb.Append("
GUID: ");
          sb.Append(typeInfo.GUID.ToString());
        }
      }
      catch (Exception ex)
      {
        sb.Append( "Error: " + ex.ToString() ) ;
      }
      
      return sb.ToString();
    }
    private void RetrieveInfo_Click(object sender, System.EventArgs e)
    {
      OutputClass.Text = GetAssemblyInfo();
    }
  
    Reflect Class