Assembly SampleAssembly;
// Instantiate a target object.
Int32 Integer1 = new Int32();
Type Type1;
// Set the Type instance to the target class type.
Type1 = Integer1.GetType();
// Instantiate an Assembly class to the assembly housing the Integer type.
SampleAssembly = Assembly.GetAssembly(Integer1.GetType());
// Display the physical location of the assembly containing the manifest.
Console.WriteLine("Location=" + SampleAssembly.Location);
// Instantiate a target object.
Int32 Integer1 = new Int32();
Type Type1;
// Set the Type instance to the target class type.
Type1 = Integer1.GetType();
// Instantiate an Assembly class to the assembly housing the Integer type.
SampleAssembly = Assembly.GetAssembly(Integer1.GetType());
// Display the physical location of the assembly containing the manifest.
Console.WriteLine("Location=" + SampleAssembly.Location);
解决方案 »
- 怎样把word文档导入到数据库,然后再从数据库导出生成word文档
- 有没有代替GridView1_SelectedIndexChanged事件的好办法
- 帮忙看下 线程问题
- log4net无法写log的问题
- 获取TreeView中,选中的子节点问题,多谢各位!
- 请问如何阻断计算机的通信?
- C#语言应该这样去学习呢?
- 网页水晶报表翻页后数据显示不正确
- 为什么有错
- 在vs.net beta2中为什么我引用不成System.Data.ADO和System.Net?请大虾帮帮忙
- Web 访问数据库出现SQL Server 不存在或访问被拒绝。
- 问一个关于把Excel中的特定字段的值插入到Sql Server当中的特定字段的问题
Console.WriteLine( path );//如果没有this的话就用typeof(类名)