码迷,mamicode.com
首页 >  
搜索关键字:generic    ( 7184个结果
Unity 模仿scene视图相机视角移动
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Cam : MonoBehaviour { void Start() { } void Update() { if ...
分类:移动开发   时间:2020-05-11 15:26:13    阅读次数:152
微信小程序如何访问带有Token安全认证的API
展开微信小程序访问Token安全验证的API接口API//添加一个自定义过滤器using Newtonsoft.Json;using System;using System.Collections.Generic;using System.IO;using System.Linq;using Sys ...
分类:微信   时间:2020-05-11 01:17:01    阅读次数:446
C# Socket 处理 拆包、粘包
1、采用TCP自定义协议通讯,协议由02(byte) + json字符串(byte[]) +03(byte)组成。 Socket_Client.cs 服务端using System;using System.Collections.Generic;using System.Net;using Sys ...
分类:Windows程序   时间:2020-05-09 15:31:52    阅读次数:97
C# Mongodb 封装类
1. 依赖包 MongoDB.Driver; MongoDB.Json; MongoDB.Bson; 2. 上代码 1 using MongoDB.Driver; 2 using System; 3 using System.Collections.Generic; 4 using System.T ...
分类:数据库   时间:2020-05-09 15:25:28    阅读次数:95
Java 泛型技术(Generic)
1.1 泛形的作用 (1)JDK5以前,对象保存到集合中就会失去其特性,取出时通常要程序员手工进行类型的强制转换,这样不可避免就会引发程序的一些安全性问题。例如: ArrayList list = new ArrayList(); list.add("abc"); Integer num = (In ...
分类:编程语言   时间:2020-05-08 13:22:21    阅读次数:75
公司的Excel导出
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FineUICore; using Microsoft.AspNetCore.Authoriz ...
分类:其他好文   时间:2020-05-06 21:34:28    阅读次数:86
C#串口通讯,复制粘贴就可用,仅仅介绍怎样最快的搭建一个串口通讯,异常拦截等等需要自己加上
原文:C#串口通讯,复制粘贴就可用,仅仅介绍怎样最快的搭建一个串口通讯,异常拦截等等需要自己加上 using System; using System.Collections.Generic; using System.IO.Ports; using System.Text; //串口通讯类 pub... ...
分类:Windows程序   时间:2020-05-06 01:31:04    阅读次数:100
WPF 加减乘除计算器
原文:WPF 加减乘除计算器 小玩意,毫无任何难度。 cs: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; usi... ...
分类:Windows程序   时间:2020-05-06 01:00:22    阅读次数:146
C# 建造者设计模式
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace FactoryMod ...
分类:Windows程序   时间:2020-05-05 18:16:57    阅读次数:83
C# 抽象工厂的设计模式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FactoryMode { public abs ...
分类:Windows程序   时间:2020-05-05 12:41:03    阅读次数:90
7184条   上一页 1 ... 21 22 23 24 25 ... 719 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!