using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace 计算字符{ class
Program { ...
分类:
其他好文 时间:
2014-04-29 20:45:02
阅读次数:
446
在使用 Google Chrome 浏览器调试 js 时,会发现修改完 js
不会立即生效,这是由于 chrome 浏览器缓存的原因,而在火狐下没有这个问题。经常使用 chrome 浏览器调试 js 的朋友一定会发现 chrome 下调试
js 更加顺手,那么就让我们看看怎么在 chrome 下禁止...
分类:
其他好文 时间:
2014-04-29 19:06:28
阅读次数:
411
XML序列化是将对象的公共属性和字段转换为XML格式,以便存储或传输的过程。反序列化则是从XML输出中重新创建原始状态的对象。XML序列化中最主要的类是XmlSerializer类。它的最重要的方法是Serialize和Deserialize方法,它位于System.Xml.Serializat.....
分类:
其他好文 时间:
2014-04-29 18:53:14
阅读次数:
629
使用Runtime的addShutdownHook(thread)方法: 1 for(int
i=0; i<5; i++){ 2 System.out.println(i); 3 } 4 5 Thread th...
分类:
其他好文 时间:
2014-04-29 17:22:47
阅读次数:
311
Abstract Introduction::
Bigtable设计主旨:可扩地扩展到pByte级别和数千台机器的系统, 通用、可伸缩、高性能、高可用性。
不实现完整的关系数据模型,而是支持一个可以动态控制,允许用户自解释数据属性; 用户甚至可以指定数据(使用时)是存在内存中还是磁盘中; 支持row...
分类:
其他好文 时间:
2014-04-29 15:40:01
阅读次数:
613
1.To survive among the ordinary,you must be strong
and independent!2.Be a unique person and develop skills so that nobody can
replace you!3.Since nans...
分类:
其他好文 时间:
2014-04-29 15:37:58
阅读次数:
567
2014-04-29
00:59题目:设计一个洗牌算法,效率尽量快点,必须等概率。解法:每次随机抽一张牌出来,最后都抽完了,也就洗好了。时间复杂度O(n^2),请看代码。代码: 1
// 18.2 shuffle a deck of 52 cards, it must be perfect rand...
分类:
其他好文 时间:
2014-04-29 14:38:25
阅读次数:
473
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Windows;using Sys...
分类:
其他好文 时间:
2014-04-29 09:25:47
阅读次数:
415
1.调用widnows资源管理器打开文件夹 private void
OpenFolder(string folder) { System.Diagnostics.Process.Start("explorer.exe",
folder); ...
分类:
其他好文 时间:
2014-04-29 09:24:46
阅读次数:
406
WPF调用WinForm中的 OpenFileDialog 和 FolderBrowserDialog
来实现响应的功能对应的引用程序集:using System.Windows.Forms; OpenFileDialog openFileDialog = new
OpenFileDialog();...
分类:
其他好文 时间:
2014-04-29 09:24:45
阅读次数:
404