2013年12月26日

C#检测两个文件内容是否相同

摘要: 不知道为什么对Excel 2010 xlsx后缀的文件没有效果,求解!对其他文件有效,如.txt,.csv 1 using System; 2 using System.Security.Cryptography; 3 using System.IO; 4 5 namespace CheckFile 6 { 7 class Program 8 { 9 static void Main(string[] args)10 {11 string filePath1 = @"D:/1.txt";12 st... 阅读全文

posted @ 2013-12-26 17:13 程序猴chengxuhou.com 阅读(1060) 评论(0) 推荐(0) 编辑

NUnit.Framework的使用方法演示

摘要: 1 using NUnit.Framework; 2 3 namespace CheckExcel 4 { 5 [TestFixture] 6 public class TestExcelHelper 7 { 8 /// 9 /// 文件名10 /// 11 string fileName1 = @"D:\Test\a.xlsx";12 string fileName2 = @"D:\Test\c.xlsx";13 14 /// 15 /// 测试方法1... 阅读全文

posted @ 2013-12-26 13:42 程序猴chengxuhou.com 阅读(859) 评论(0) 推荐(0) 编辑

导航