码迷,mamicode.com
首页 >  
搜索关键字:generic    ( 7184个结果
4,泛型环形队列
1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 5 namespace 数据结构 6 { 7 public class CircleQueue<T> 8 { 9 //队列最大容量 10 privat ...
分类:其他好文   时间:2020-04-12 08:04:05    阅读次数:67
Code-Serialization:Xml序列化与Xml反序列化
ylbtech-Code-Serialization:Xml序列化与Xml反序列化 1.返回顶部 1、 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.T ...
分类:其他好文   时间:2020-04-11 18:32:55    阅读次数:60
Unity3D资源异步加载(一)——图片、音视频资源加载
这几天一直做优化的事情,对于资源这一块优化,资源异步加载作为首选,因2018之后版本中弃用了WWW请求,所以今天我们以UnityWebRequest请求方式介绍,基本上是一个整理。usingSystem.Collections;usingSystem.Collections.Generic;usingUnityEngine;usingUnityEngine.Networking;publiccla
分类:编程语言   时间:2020-04-11 09:48:43    阅读次数:87
请考虑将 "await" 运算符应用于调用结果
界面: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading ...
分类:其他好文   时间:2020-04-10 13:34:45    阅读次数:273
ArcGIS Pro配置中删除已有所有TAB
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Input; using System.Threading.Tasks; using ...
分类:其他好文   时间:2020-04-06 14:00:06    阅读次数:71
Julia元编程初探——以简单符号求导为例
Julia语言具有强大的元编程机制,本文用Julia实现《SICP》中文第二版中第 99 页中的实例:符号求导,体验一下Julia元编程。 运行结果如下: julia> include("deriv.jl") # 加载代码multiplicand (generic function with 1 m ...
分类:其他好文   时间:2020-04-05 22:35:14    阅读次数:142
Java泛型类
定义简单泛型类 一个 泛型类 (generic class)就是具有一个或多个 类型变量 的类,泛型类可以看作是普通类的工厂。下面以一个简单的Pair类作为例子。 Pair类包含一个类型变量T,用尖括号括起来(Pair),并放在 类名的后面 。泛型类也可以包含多个类型变量,例如,可以重新定义Pair ...
分类:编程语言   时间:2020-04-05 20:19:47    阅读次数:61
1.泛型
1.概念:泛型(generic)是C#语言2.0和通用语言运行时(CLR)的一个新特性。类型参数使得设计类和方法时,不必确定一个或多个具体参数,其的具体参数可延迟到客户代码中声明、实现。这意味着使用泛型的类型参数T,写一个类MyList<T>,客户代码可以这样调用:MyList<int>, MyLi ...
分类:其他好文   时间:2020-04-04 20:36:34    阅读次数:73
Ftp进行文件的上传和下载
下载: 文件操作类 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Windows.Forms; using Sys ...
分类:Web程序   时间:2020-04-03 16:43:43    阅读次数:98
导出Excel
导出Excel 操作类 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NPOI.SS.UserMode ...
分类:其他好文   时间:2020-04-03 16:27:50    阅读次数:58
7184条   上一页 1 ... 25 26 27 28 29 ... 719 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!