文件名称:haidaofenjin_CSharp

  • 所属分类:
  • C#编程
  • 资源属性:
  • [Windows] [Visual.Net] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 49kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • l***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

昨天整理移动硬盘,竟然翻出了五年前的小程序源码。记得当时是在中国人民大学边上的一个小公园里花了一个上午想出来的方案(手稿程序),又用了一个小时的时间编写并调试通过的。这是一个面向对象编程方法的经典示例,虽然现在看起来,有些地方还不够完美(比如,不用泛型,而采用了强制类型转换),但也够一些小兄弟们参考学习之用了。不做修改的发上来,原汁原味地呈现给大家,希望引起大家对“面向对象”的思考。



谁说面向对象已死?你看看用面向对象是怎么解决复杂问题的?



这里所说的复杂问题是指一个很古老的问题——海盗分金问题。

-Yesterday finishing mobile hard disk, even five years ago, dug out a small program source code. Remember that in the edge of Renmin University of China took a small park came up with a morning program (manuscr ipt program), but also spent an hour writing and debugging passed. This is a classic object-oriented programming example, although it now appears, in some places still are not perfect (eg, not generic, and the use of the cast), but small enough to learn of the brothers used as a reference. Not to modify the hair up, original presented to you, I hope to attract people to the "object-oriented" thinking.



Who said object-oriented dead? Look at how the object-oriented solutions to complex problems?

  

Complex issues mentioned here is a very old problem- the problem of piracy points Gold。
(系统自动生成,下载前可以参看下载内容)

下载文件列表

test

....\App.ico

....\AssemblyInfo.cs

....\bin

....\...\Debug

....\...\.....\test.exe

....\...\.....\test.pdb

....\MainForm.cs

....\MainForm.resx

....\obj

....\...\Debug

....\...\.....\temp

....\...\.....\TempPE

....\...\.....\test.exe

....\...\.....\test.MainForm.resources

....\...\.....\test.pdb

....\...\.....\test.projdata

....\...\.....\test.projdata1

....\Parm.cs

....\Pirate.cs

....\test.csproj

....\test.csproj.user

....\test.sln

....\test.suo

....\海盗分金币.mht

重要说明.doc

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org