摘要:        
1、字符串变量不能赋值给字符变量。 2、Math函数输出尽量取舍,一般用ToString("f4"),否则显示误差。 3、针对短时间内大量random产生重复问题(http://www.cnblogs.com/rupeng/p/3723018.html) 可以使用c#.net中的RNGCryptoS    阅读全文
posted @ 2016-07-07 16:18
wipp
阅读(240)
评论(0)
推荐(0)
        
            
        
        
摘要:        
//同时读取和写入 copy示例 循环读取    阅读全文
posted @ 2016-07-07 16:09
wipp
阅读(186)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1.管理文件系统 一般而言,应用程序都会有保存数据、检索数据的需求。 1.1 使用 path 类来访问文件路径 【path常用的方法】:http://www.cnblogs.com/tangge/archive/2012/10/30/2746458.html#a3 1.2 使用 File 和 Fil    阅读全文
posted @ 2016-07-07 08:48
wipp
阅读(293)
评论(0)
推荐(0)
        
            
        
        
摘要:        
使用 Stream 类管理字节流 使用 FileStream 类管理文件数据 使用 MemoryStream 类管理内存数据 使用 BufferedSream 类提高流性能 3.1 FileStream MemoryStream Seek 定位,寻址 BufferedStream 3.2 管理应用程    阅读全文
posted @ 2016-07-07 08:47
wipp
阅读(385)
评论(0)
推荐(0)
        
            
        
        
摘要:        
操作文件类:File 操作路径类:Path 操作文件夹类:Directory (FileStream、StreamWriter 、StreamReader 、File、FileInfo、Directory、DirectoryInfo、Path、Encoding) C#文件与流(FileStream、    阅读全文
posted @ 2016-07-07 08:22
wipp
阅读(954)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号