Sends for the fellow dear visitors:welcome to dongpad!


 Welcome to DongPad!

 msn


预览模式: 普通 | 列表

ZT-大家一起来越狱(附攻略)

截图

今天为大家推荐一款解谜逃脱类游戏,被关在铜墙铁壁戒备森严的地方里不好受吧?快点帮助主人公出监狱吧!游戏很有趣,跟其他解密游戏比起来更考验智力,共有27关,在中途可以选择已经通过的关。主人公要躲避哨兵的侦查,还要通过种种智力考验,最后才能通关。

玩法:W.A.S.D分别控制人物前后左右,英文好的朋友可以下方对话框的提示。

查看全部...

Tags:

分类:Relax Bar | 固定链接 |评论: 0| 引用: 0 | 查看次数: 912 | 返回顶部

F#是什么

F#是什么?F#和C#有啥区别?
微软为Visual Studio开发平台添加了最新的稳定版语言F#,成为VS的主要编程语言之一。
F#语言基于功能性编程语言概念。功能性编程语言将计算看做是数学函数的赋值,对于需要使用大量数学符号的某些领域专业人员来说,F#语言的数学特性颇具吸引力。Somasegar表示,F#的目标是成为.Net上的“上等公民”。
另外微软研究院也曾对F#语言做出过解释,F#语言集安全、性能、脚本与Modern Runtime系统(Java虚拟机和微软通用Runtime)等多种优势于一体,并支持Python等交互式脚本语言、强类型推理、ML的安全性。另外,F#语言可以访问.net库以及其他数据库工具软件。

Tags: F# DongPad

分类:F# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 1369 | 返回顶部

小记

This Article is Published by Live Writer。

发现一个不错的音乐盒---8Box音乐盒,遂嵌入了进来,可以点击侧栏的音乐盒,来点音乐放松一下吧!小记一下!

Tags: DongPad

分类:Life | 固定链接 |评论: 0| 引用: 0 | 查看次数: 935 | 返回顶部

穷人最缺少的是什么?

This Article is Published by Live Writer。

法国一位年轻人很穷,很苦。后来,他以推销装饰肖像画起家,在不到10年的时间里,迅速跻身于法国50大富翁之列,成为一位年轻的媒体大亨。不幸,他因患上前列腺癌,1998年去世。他去世后,法国的一份报纸刊登了他的一份遗嘱。在这份遗嘱里,他说:我曾经是一位穷人,在以一个富人的身份跨入天堂的门槛之前,我把自己成为富人的秘诀留下,谁若能通过回答“穷人最缺少的是什么”而猜中我成为富人的秘诀,他将能得到我的祝贺,我留在银行私人保险箱内的100 万法郎,将作为睿智地揭开贫穷之谜的人的奖金、也是我在天堂给予他的欢呼与掌声。遗嘱刊出之后,有18461个人寄来了自己的答案。这些答案,五花八门,应有尽有。绝大部分的人认为,穷人最缺少的当然是金钱了,有了钱就不会再是穷人了。另有一部分人认为,穷人之所以穷,最缺少的是机会,穷人之穷是穷在背时上面。又有一部分认为,穷人最缺少的是技能,一无所长所以才穷,有一技之长才能迅速致富。还有的人说,穷人最缺少的是帮助和关爱,是漂亮,是名牌衣服,是总统的职位等等。
在这位富翁逝世周年纪念日,他的律师和代理人在公证部门的监督下,打开了银行内的私人保险箱,公开了他致富的秘诀,他认为:穷人最缺少的是成为富人的野心。在所有答案中,有一位年仅九岁的女孩猜对了。为什么只有这位9岁的女孩想到穷人最缺少的是野心?她在接受100万法郎的颁奖之日,说“每次,我姐姐把她11岁的男朋友带回家时,总是警告我说不要有野心!不要有野心!于是我想,也许野心可以让人得到自己想得到的东西”。
谜底揭开之后,震动法国,并波及英美。一些新贵、富翁在就此话题谈论时,均毫不掩饰地承认:野心是永恒的“治穷”特效药,是所有奇迹的萌发点,穷人之所以穷,大多是因为他们有一种无可救药的弱点,也就是缺乏致富的野心。

from Jews’

Tags: DongPad

分类:Life | 固定链接 |评论: 0| 引用: 0 | 查看次数: 795 | 返回顶部

Expression Tree Visualizer的使用

This Article is Published by Live Writer。

在Visual Studio 2008 CSharp samples中有很多有价值的工具,而Expression Tree Visualizer就是其中的,
你可以下载,也可以通过更新再线samples版本得到
你将这个Expression Tree Visualizer程序编译运行,后将在
...\LinqSamples\ExpressionTreeVisualizer\ExpressionTreeVisualizer\bin\Debug
中的.dll文件复制出来到
...\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\Debugger\Visualizers.中,


之后你就可以通过上面这两图的方式打开它


其实也和使用QueryVisualizer一样.

原文地址:worksguo,cnblogs.com

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 1264 | 返回顶部

Visual Studio International Feature Pack 2.0 Beta

This Article is Published by Live Writer。

Visual Studio International Feature Pack 2.0 是对 1.0 版本( 1.0 版的产品名是 Microsoft Visual Studio International Pack 1.0 SR1) 的扩展,包含一组控件和类库,设计用来帮助.NET开发人员创建国际化程序。

  • Chinese Text Alignment Class Library and TextBox Controls 包含支持简体中文文本对齐的WinForm 和 WPF 的TextBox控件, 以及供帮助开发人员很容易地按中文文本对齐显示字符串的一个类库。
  • Chinese Auto Complete Class Library and TextBox Controls 包含支持感知简体中文和繁体中文输入法并自动完成的WinForm 和 WPF 的TextBox控件, 以及供开发人员很容易地向标准控件添加感知输入法并自动完成功能的一个类库。
  • Korean Auto Complete Class Library and ComboBox Controls 包含支持感知韩语输入法并自动完成的WinForm 和 WPF 的ComboBox控件, 以及供开发人员很容易地向标准控件添加感知输入法并自动完成功能的一个类库。
  • Numeric Formatting Class Library 包含支持五种语言的数字格式化成文字的类, 2.0 版支持格式化阿拉伯数字为阿拉伯文字。
  • Yomigana Framework 包含了类库和控件。
    • 类库:
      • 通用目的的一些类,用泛型实现对一个可枚举的类型注音。
      • 特殊目的的一些类,用以上泛型实现对一个字符串用某种类型中注音。
      • 特殊目的的一些StringAnnotation 类,用以上泛型实现对一个字符串用字符串注音,包括解析和格式化功能。
      • 一个比较器类,使用以上类实现比较字符串。
      • 一个实现了 IEnumerable 的数据结构,把一个字符串分成枚举的字符串段,的数据结构,把一个字符串分成枚举的字符串段,并用 IEnumerator 输出。
    • 控件:
      • 加强的Ajax/WPF/WinForm textboxes 用来根据用户的输入捕获读音。
      • 一个加强的使用Ruby标签的ASP.NET Label。

点击链接 Visual Studio International Feature Pack 2.0 Beta (http://download.microsoft.com/download/7/7/0/770D7C6E-FEFE-466A-93A2-D69017C9DBFA/VSIPSetup.msi) 可以下载该软件包的所有组件

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 908 | 返回顶部

IQueryable<T> vs IEnumerable<T>

This Article is Published by Live Writer。

IQueryable is a very powerful feature that enables a variety of interesting deferred execution
scenarios (like paging and composition based queries). As with all powerful features, you want to be
careful with how you use it and make sure it is not abused.
It is important to recognize that returning an IQueryable result from your repository enables calling
code to append on chained operator methods to it, and so participate in the ultimate query execution
.
If you do not want to provide calling code this ability, then you should return back IList, List or
IEnumerable results - which contain the results of a query that has already executed
.
For pagination scenarios this would require you to push the actual data pagination logic into the
repository method being called. In this scenario we might update our FindUpcomingDinners() finder
method to have a signature that either returned a PaginatedList:
PaginatedList< Dinner> FindUpcomingDinners(int pageIndex, int pageSize) { }
Or return back an IList, and use a “totalCount” out param to return the total count of Dinners:
IList FindUpcomingDinners(int pageIndex, int pageSize, out int totalCount) { }

From the NerdDiner Pro!

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 1203 | 返回顶部

C#小技巧:设置方法或属性为[已过时]

在C#中,如果有一个方法我们不想继续使用,需要废弃的时候,可以在该方法前面加上一个[Obsolete]。例如:[Obsolete]
public double GetArea()
{
switch (_arg)
{
case CIRCLE:
return _size * _size;
case SQUARE:
return _size * _size;
case RIGHT_TRIANGLE:
return _size * _size / 2;
default:
return 0;
}
}
这时候,如果还有程序使用该方法,编译时会报如下警告信息:GetArea()方法已过时。
From Terrylee's cnblogs!


Tags: DongPad 过时

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 1986 | 返回顶部

Foundations of F#

This Article is Published by Live Writer。

Functional programming (FP) is the future of .NET programming, and F# is much more than just an FP language. Every professional .NET programmer needs to learn about FP, and there's no better way to do it than by learning F#--and no easier way to learn F# than from Foundations of F#.

If you're already familiar with FP, you'll find F# the language you've always dreamed of. And all .NET programmers will find F# an exciting real-world alternative to C# and Visual Basic. This book is likely to have many imitators, but few true competitors. Written by F# evangelist Rob Pickering, and tech reviewed by F#'s main designer, Don Syme, this is an elegant, comprehensive introduction to all aspects of the language and an incisive guide to using F# for real-world professional development. F# is the future of programming (not just on .NET), and the future is now.

Download by click here or here!

Tags: DongPad

分类:C# | 固定链接 |评论: 0| 引用: 0 | 查看次数: 874 | 返回顶部