上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
摘要: 关键词:延迟、当前位置保留、IEnumerable例: static void Main(string[] args) { IEnumerable ie = funyield(); foreach (string s in ie) { Console.WriteLine(s); } Console.ReadKey(); } public static IEnumerable funyield() ... 阅读全文
posted @ 2013-06-20 12:53 武沛齐 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/fly_dragon/archive/2011/02/21/1959933.htmlIEnumerable接口公开枚举器,该枚举器支持在指定类型的集合上进行简单迭代。也就是说:实现了此接口的object,就可以直接使用foreach遍历此objec... 阅读全文
posted @ 2013-06-20 11:12 武沛齐 阅读(750) 评论(0) 推荐(0) 编辑
摘要: IEnumerable接口,其中只有一个返回IEnumerator类型的方法 public interface IEnumerable { IEnumerator GetEnumerator(); } public interface IEnumerator {//获取集合中的当前元素。 object Current { get; }//将枚举数推进到集合的下一个元素。 bool MoveNext();//将枚举数设置为其初始位置,该位置位于集合中第一个元素之前。 void Reset(); }一种类型... 阅读全文
posted @ 2013-06-20 10:49 武沛齐 阅读(797) 评论(0) 推荐(0) 编辑
摘要: http://geekswithblogs.net/shaunxu/archive/2010/05/06/localization-in-asp.net-mvc-ndash-3-days-investigation-1-day.aspx 阅读全文
posted @ 2013-05-24 18:45 武沛齐 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 系列一:http://www.cnblogs.com/huangxincheng/category/355399.html系列二:http://www.cnblogs.com/lipan/category/273923.html 阅读全文
posted @ 2013-05-17 22:22 武沛齐 阅读(458) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/shirdrn/article/details/7105539 阅读全文
posted @ 2013-05-16 18:41 武沛齐 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/ms0017/archive/2011/08/14/2138452.html开源项目托管:http://www.apache.org/ http://www.googlecode.com/http://www.sf.net/http://www.g... 阅读全文
posted @ 2013-05-16 17:33 武沛齐 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/ms0017/archive/2011/08/17/Microsoft-NET-Mono-MySQL-MVC-Linux-Large-WebSite.html在上篇文章里(http://www.cnblogs.com/ms0017/archive/... 阅读全文
posted @ 2013-05-16 17:31 武沛齐 阅读(743) 评论(0) 推荐(1) 编辑
摘要: 转自:http://www.cnblogs.com/ms0017/archive/2011/07/26/2117676.html首先说明一下,本文绝不是要说Microsoft平台多么好,多么牛。只是要提醒一些LAMP/JAVA平台下的同志们,微软平台不至于像你们说的,和想象的那么不堪!只是你们自己不... 阅读全文
posted @ 2013-05-16 17:29 武沛齐 阅读(571) 评论(1) 推荐(1) 编辑
摘要: 上一节有关访问权限的笔记,是由启动命令mongod的参数auth引发的有关问题,这节就来看看mongod的其他参数MongoDB启动命令mongod参数说明:基本配置--quiet# 安静输出--port arg# 指定服务端口号,默认端口27017--bind_ip arg# 绑定服务IP,若绑定127.0.0.1,则只能本机访问,不指定默认本地所有IP--logpath arg# 指定MongoDB日志文件,注意是指定文件不是目录--logappend# 使用追加的方式写日志--pidfilepath arg# PID File 的完整路径,如果没有设置,则没有PID文件--keyFile 阅读全文
posted @ 2013-05-16 16:11 武沛齐 阅读(602) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页