12 2013 档案

摘要:1: class Program 2: { 3: static void Main(string[] args) 4: { 5: string s = File.ReadAllText(@"e:\test.txt"); 6: Program p =... 阅读全文
posted @ 2013-12-30 20:31 Dance With Automation 阅读(292) 评论(0) 推荐(0)
摘要:1: class Program 2: { 3: static void Main(string[] args) 4: { 5: string s = File.ReadAllText(@"e:\test.txt"); 6: Program... 阅读全文
posted @ 2013-12-27 20:04 Dance With Automation 阅读(386) 评论(0) 推荐(0)
摘要:1: class Program 2: { 3: static void Main(string[] args) 4: { 5: string s = File.ReadAllText(@"e:\test.txt"); 6: Prog... 阅读全文
posted @ 2013-12-27 11:04 Dance With Automation 阅读(263) 评论(0) 推荐(0)
摘要:1: class Program 2: { 3: static void Main(string[] args) 4: { 5: Program p = new Program(); 6: string r = p.ReverseString("5毛1234\0"); 7: ... 阅读全文
posted @ 2013-12-25 20:27 Dance With Automation 阅读(299) 评论(0) 推荐(0)
摘要:1: class Program 2: { 3: static void Main(string[] args) 4: { 5: Program p = new Program(); 6: List result = p.FindMostF... 阅读全文
posted @ 2013-12-24 20:34 Dance With Automation 阅读(252) 评论(0) 推荐(0)
摘要:在使用Ironpython引用WebDriver程序集做web自动化时碰到这个问题,出问题的代码很简单,如下: import sys import clr clr.AddReferenceToFileAndPath(r"c:\WebDriver.dll") 运行抛出异常,告知无法添加引用 解决方案: clr的AddReferenceXX系列方法其实就是Assembly.LoadXX系列... 阅读全文
posted @ 2013-12-10 18:29 Dance With Automation 阅读(546) 评论(0) 推荐(0)