-
在C#关于OPP的实现的基本联系,熟悉对OPP操作
在C#关于OPP的实现的基本联系,熟悉对OPP操作-In the C# Realize on the OPP of the basic contact, familiar with the operation of the OPP
- 2022-02-26 20:04:35下载
- 积分:1
-
C# 创建一个泛型接口
C# 创建一个泛型接口的例子,创建一个泛型接口的代码和方法如下:
public interface IGenericInterface {
T CreateInstance(); //接口中调用CreateInstance方法
}
//实现上面泛型接口的泛型类
//派生约束where T : TI(T要继承自TI)
//构造函数约束where T : new()(T可以实例化)
public class Factory : IGenericInterface where T : TI, new()
{
public TI CreateInstance()//创建一个公共方法CreateInstance
{
return new T();
}
}
class Program
{
static void Main(string[] args)
{
//实例化接口
IGenericInterface factory =
Factory();
//输出指定泛型的类型
Console.WriteLine(factory.CreateInstance().GetType().ToString());
Console.ReadLine();
}
}
- 2022-03-11 00:59:39下载
- 积分:1
-
电磁的完整程序
开发平台IAR,对于PID 车上的调试,实现快速达到所需的状态。运用于舵机转向,电机调速。适用范围广。
- 2022-02-21 09:33:32下载
- 积分:1
-
文件传输
socket文件传输 一主一从实现远程数据传输功能,其内容包括两个部分,一个是主站程序,一个是从站程序,经过测试,功能是可以实现的,文件在发送前先给压缩,将压缩包传输到从站,从接受文件并解压。
- 2023-03-31 03:50:04下载
- 积分:1
-
directxtextures0.1
directxtextures0.1.win32 program.
- 2017-01-25 21:01:17下载
- 积分:1
-
NT35510_AN for CPT 3p97_V01
NT35510_AN for CPT 3p97_V01
- 2021-01-22 19:38:45下载
- 积分:1
-
15
说明: 嵌入式实时操作系统μCOS-Ⅱ经典实例——基于STM32处理器-光盘资料(The classic example of embedded real-time operating system μCOS-Ⅱ- based on the the STM32 processor- CD-ROM)
- 2013-01-30 14:24:53下载
- 积分:1
-
Office2007jiemian
VS2008设计的Office2007界面,打破常规的Winform界面设计,界面漂亮好看,可在上边直接进行功能开发(The interface the VS2008 design of Office2007, breaking the regular Winform interface design, the interface is pretty good-looking, functional development directly on top)
- 2012-10-18 15:42:16下载
- 积分:1
-
pwmLight
本程序主要的功能是通过PWM来进行光的亮度的调节(The main feature of this program is carried out by the PWM brightness adjustment of light)
- 2011-12-10 09:26:35下载
- 积分:1
-
AD7746
基于AD7746的微小电容测量程序,可检测0.1pf至22pf的微小电容,程序经过测试可用。(Based on the AD7746 small capacitance measurement procedures 0.1pf to 22pf small capacitance can be detected, the program has been tested and is available.)
- 2013-04-18 14:30:37下载
- 积分:1