码迷,mamicode.com
首页 >  
搜索关键字:collections deque counter    ( 12297个结果
减速
using UnityEngine;using System.Collections;public class stopSpeed : MonoBehaviour { public bool canStop = false; public float scrollSpeed = 5.0f...
分类:其他好文   时间:2014-05-27 00:15:25    阅读次数:323
呵呵呵呵
呵呵呵呵```csharpusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using ...
分类:其他好文   时间:2014-05-26 22:58:46    阅读次数:352
根据距离加速
using UnityEngine;using System.Collections;public class addSpeed : MonoBehaviour { public float scrollSpeed; float defaultScroll = 0.01f; flo...
分类:其他好文   时间:2014-05-26 22:17:04    阅读次数:239
C# Inject
using System;using System.Collections.Concurrent;using System.Collections.Generic;using System.Diagnostics.Contracts;using System.IO;using System.Linq...
分类:其他好文   时间:2014-05-26 16:20:34    阅读次数:269
GDI绘图写的简单扫雷
由于没话多少时间,这个扫雷我只实现了主要功能(扫雷功能,递归实现)废话不多说,直接上代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.D...
分类:其他好文   时间:2014-05-26 13:57:23    阅读次数:305
01-03-02-1【Nhibernate (版本3.3.1.4000) 出入江湖】CRUP操作--cascade 级联相关
要点:1. 2Custmer.cs 1 using Iesi.Collections.Generic; 2 using System; 3 using System.Linq; 4 using System.Text; 5 6 namespace Model 7 { 8 p...
分类:系统相关   时间:2014-05-26 11:53:27    阅读次数:302
SQLHelper -
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Data.SqlClient; 6 using System.Dat...
分类:数据库   时间:2014-05-26 10:21:48    阅读次数:247
多线程简单示例
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading; 6 using System.Runtime.Remoti....
分类:编程语言   时间:2014-05-26 09:07:50    阅读次数:270
自定义集合支持使用 foreach循环访问该集合
自定义集合支持使用 foreach循环访问该集合,需要实现 IEnumerable 和 IEnumerator 接口。usingSystem;usingSystem.Collections;publicclassPerson{publicPerson(stringfName,stringlName)...
分类:其他好文   时间:2014-05-26 08:25:31    阅读次数:196
STL适配器(adapters)
定义:将一个class的接口转换为另一个class的接口,使原本因接口不兼容而不能合作的classes,可以一起运作。适配器扮演者轴承、转换器的角色。 分类: 1、容器适配器:改变容器接口。 STL提供两个容器迭代器:queue和stack。它们都是修饰deque后成为另一种风貌的容器。 2、迭代器适配器:改变迭代器接口。 Insert Iterator:将容器绑...
分类:其他好文   时间:2014-05-23 01:58:23    阅读次数:360
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!