C#中数据流的功能非常的多,在文件夹目录浏览,读入写出文件,异步IO,异步网络编程等都可以用到1. 递归显示目录 1 using System; 2 using System.Collections.Generic; 3 using System.IO; 4 using System.Text; 5...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; u...
分类:
Web程序 时间:
2015-05-09 21:45:44
阅读次数:
141
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks; using DevExpress.XtraEditors.Contr...
分类:
其他好文 时间:
2015-05-09 19:02:19
阅读次数:
93
/*大作业SIMS*///头文件 1 #ifndef __FUNC_C__ 2 #define __FUNC_C__ 3 4 5 #include 6 #include 7 #include 8 #define LEN 128 9 #define M 100 //账户最多人数10 #d...
分类:
其他好文 时间:
2015-05-09 18:52:42
阅读次数:
96
//方法一: Integer[] arr= {1,2,3}; List list = Arrays.asList(arr); if (list.contains(1)&&list.contains(2)){ System...
分类:
编程语言 时间:
2015-05-09 18:48:45
阅读次数:
112
public static void main(String[] args) { int[][] c = new int[1][3]; System.out.println(c.length); System.out.println(c[0]....
分类:
编程语言 时间:
2015-05-09 17:28:04
阅读次数:
107
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using NPOI.SS.UserModel; 6 using NPOI.XSSF.User...
分类:
其他好文 时间:
2015-05-09 17:22:53
阅读次数:
128
public void GetAllFiles(string fpath, string filetype)
{
//System.IO.DirectoryInfo dir = new System.IO.DirectoryInfo(fpath); // 遍历指定文件类型的文件
//System.IO.FileInfo[] fs = dir....
分类:
其他好文 时间:
2015-05-09 16:39:41
阅读次数:
113
log4j.properties文件配置log4j.rootLogger = DEBUG,stdout,Flog4j.appender.stdout = org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.Target = System.out...
分类:
其他好文 时间:
2015-05-09 14:53:52
阅读次数:
110
这是因为你电脑的初始化文件遭破坏所致。导致破坏的原因也可能是病毒或其它原因。因为Windows启动须要读取Syatem.ini,Win.ini和注冊表文件,假设C盘根文件夹下有config.sys,Autoexec.bat 文件,这两个文件也会被读取。仅仅要这些文件存在错误信息就可能出现死机。1,....