-
C# 创建反射(控制台程序)
C# 创建反射的一个例子,是一个控制台程序,运行时,请先运行cmd命令,打开命令提示符控制台,然后此Debug中的exe文件拖放至cmd窗口中,按下回画键,即可看到创建反射的过程,基于以下代码来实现:
Console.WriteLine ("
Reflection.MemberInfo");
// 取得 Type 和 MemberInfo.
Type MyType =Type.GetType("System.IO.File");
MemberInfo[] Mymemberinfoarray = MyType.GetMembers();
// 取得并显示 DeclaringType 方法
Console.WriteLine("
有 {0} 个成员在 {1} 中.",
Mymemberinfoarray.Length, MyType.FullName);
Console.WriteLine("{0}.", MyType.FullName);
if (MyType.IsPublic)
{
Console.WriteLine("{0} 是共有的(public).", MyType.FullName);
}
- 2022-05-22 18:36:15下载
- 积分:1
-
sysyem
在 Visual C++中操作Excel,对开发数据库管理系统很有意义(Operation Excel in Visual c + +, is very meaningful to the development of database management system)
- 2017-06-23 10:20:43下载
- 积分:1
-
xmodemc + +
fhshgl
- 2022-08-07 00:21:51下载
- 积分:1
-
04Clock
时钟显示,在实验二的作业里面,希望对大家有用,能够帮助到大家(show the time.)
- 2013-03-04 15:07:06下载
- 积分:1
-
IEC61850 C语言开发库
libiec61850-1.4.zip
- 2021-05-06下载
- 积分:1
-
微软认证考试70
微软认证考试70-528 中文(Web应用开发-ASP.NET2.0).pdf-Microsoft certification exam 70-528中文(Web application development-ASP.NET2.0). Pdf
- 2023-08-16 20:50:03下载
- 积分:1
-
CPLD_FPGA
CPLD_FPGA的入门资料.pdf格式,非常清晰.不可多得的入门级资料.(CPLD_FPGA introductory information. Pdf format, is very clear. A rare entry-level information.)
- 2009-11-23 11:09:48下载
- 积分:1
-
bug
一个基于C++的打虫子游戏,难度递增,虫子的轨迹随机。(A C++ to play insect games, difficulty increase.)
- 2013-10-29 09:30:14下载
- 积分:1
-
example25_adc_voltage -140923
利用DSP28335做得一个A/D采集电压 通过数码管显示的实验 有助于进一步学习开发DSP开发板 转自硬汉开发板 侵权自删(An experiment of A/D acquisition voltage displayed by digital tube using DSP28335 is helpful to further study and develop the infringement self-deletion from the DSP development board to the self-hardened man development board.)
- 2020-06-17 22:40:02下载
- 积分:1
-
proxy
实现简单转接,与mproxy得功能基本相同
- 2022-12-19 00:20:03下载
- 积分:1