上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 63 下一页
摘要: List<Employee> or EmployeeList? In current versions of C#, to get a strongly-typed collection, you need to define a separate type for that collection. So if you want to expose a collection o... 阅读全文
posted @ 2010-05-20 12:04 能巴 阅读(217) 评论(0) 推荐(1) 编辑
摘要: 1. Duck Typing ("If it walks like a duck and quacks like a duck, it must be a duck.") [Refer to here]Duck typing allows an object to be passed in to a method that expects a certain type even if it do... 阅读全文
posted @ 2010-05-20 11:36 能巴 阅读(152) 评论(0) 推荐(1) 编辑
摘要: Q: 比如SuperMan: IFlyable. 在superMan class中,我们要实现IFlyable的接口函数。如何快速生成所有需要实现的接口函数,在SuperMan中?就是说如何瞬间添加: #region IFlyable implementation. public void func1() {} public void func2() {} #regionA: 1. 在要实现的i... 阅读全文
posted @ 2010-05-17 13:38 能巴 阅读(144) 评论(0) 推荐(0) 编辑
摘要: The Regulator is an advanced, free regular expressions testing and learning tool. It allows you to build and verify a regular expression against any text input, file or web, and displays matching, sp... 阅读全文
posted @ 2010-05-16 21:41 能巴 阅读(161) 评论(0) 推荐(0) 编辑
摘要: From Here As Title .---------------------------------Copy Start---------------------------------------------------- Imports SystemImports EnvDTEImports System.DiagnosticsPublic Module CollapseAll Sub ... 阅读全文
posted @ 2010-05-16 21:28 能巴 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 1. Search with Regular Expression (MSDN Ref)2. Code SnippetThere are two types in VS: Expansion and Surround With. "Expansion": type the words + TWO tab. "Surround With" (most useful is #region): sele... 阅读全文
posted @ 2010-05-16 21:24 能巴 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 。。。。。。。。。。。。 阅读全文
posted @ 2010-05-15 10:26 能巴 阅读(164) 评论(0) 推荐(0) 编辑
摘要: As we know, for .Net projects, it's obvious and clear to use "Add Reference.." to control project reference / dependency relationship. Do you know about it for C++? (below is extracted from VC++ Team ... 阅读全文
posted @ 2010-05-14 15:38 能巴 阅读(483) 评论(0) 推荐(1) 编辑
摘要: 部分朋友玩电脑游戏时会出现”no pixel shader support”等相关提示信息,那么什么是shader呢?为此我特意向一个网络游戏公司的开发人员咨询,终于弄明白了shader是什么。shader什么意思  当初计算机刚诞生时,界面非常简陋,直到上个世纪 九十年代windows诞生后,才涌现了大量的电脑游戏,刚开始是二维游戏(2D game)居多,现在则绝大... 阅读全文
posted @ 2010-05-13 17:16 能巴 阅读(13232) 评论(1) 推荐(3) 编辑
摘要: From: Code Project 6 important .NET concepts: - Stack, heap, Value types, reference types, boxing and Unboxing.IntroductionWhat goes inside when you declare a variable?Stack and HeapValue types and re... 阅读全文
posted @ 2010-05-13 16:36 能巴 阅读(287) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 63 下一页