码迷,mamicode.com
首页 >  
搜索关键字:collections    ( 9831个结果
存读Blob Oracle
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:数据库   时间:2014-06-10 13:25:34    阅读次数:269
Collections -- 集合的工具类
Collections是JDK针对集合提供的一个工具类,他提供一系列静态方法实现对各种集合的搜索、排序、线程安全化等操作。1、搜索如可以使用Collections提供的二分查找方法binarySearch()2、排序如可以使用Collections.sort()对List进行了排序3、线程安全化使用...
分类:其他好文   时间:2014-06-09 21:34:32    阅读次数:175
static2014年6月9日09:27:29
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace Static再谈.....
分类:其他好文   时间:2014-06-09 19:24:42    阅读次数:162
namespace6月9日10:26:28
命名空间:用于解决类重名的问题,可以看做“类的文件夹”。【1】在代码中使用其他命名空间下的类时候需要using类所在的namespace。 System.Collections.ArrayList,快速引入的方法,右键→解析(Ctrl+.)。“System.Collections”是命名空间(c.....
分类:其他好文   时间:2014-06-09 18:50:24    阅读次数:212
WPF combobox
先写一个数据类Grade.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Collections...
分类:其他好文   时间:2014-06-09 18:45:56    阅读次数:176
PagedList.MVC分页
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;namespace PagedList.MVCWeb.Controllers{ publi...
分类:Web程序   时间:2014-06-09 18:30:04    阅读次数:280
静态类2014年6月9日10:02:28
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace 静态类密闭类 7 { 8 class Program 9 {10...
分类:其他好文   时间:2014-06-09 18:17:44    阅读次数:145
Unity3D-简单的倒计时
using UnityEngine;using System.Collections;using System;/* * 用法:新建一个场景,新建一个3D Text,把该3D Text的Transform重置一下,给它添加该脚本,运行即可 */public class TestTime : Mono...
分类:其他好文   时间:2014-06-09 16:51:24    阅读次数:198
c#换ip代理源码
很多朋友都想如何提高自己的网站流量,可是都没有什么好的办法经过很长时间的研究,在C#中实现了,当然了,这部分代码其中一部分是网上的,不是原创。using System;using System.Drawing;using System.Collections;using System.Compone...
分类:其他好文   时间:2014-06-08 20:40:20    阅读次数:414
定制对ArrayList的sort方法的自定义排序
java中的ArrayList需要通过collections类的sort方法来进行排序如果想自定义排序方式则需要有类来实现Comparator接口并重写compare方法调用sort方法时将ArrayList对象与实现Commparator接口的类的对象作为参数示例:// 外部类的方式import ...
分类:其他好文   时间:2014-06-08 19:10:21    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!