![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
山里娃娃哈
这个作者很懒,什么都没留下…
展开
-
How to read a file line by line with C# and save to another file?
How to read a file with C#?(1) Solution one: string strReadFilePath = @"C:\\Users\\HTang\\Desktop\\demo1.wadl"; StreamReader srReadFile = new StreamReader(strReadFilePath); ...原创 2018-07-11 22:15:50 · 189 阅读 · 0 评论 -
Add configuration File for UnitTest
Add Configuration FileAdd app.config to unit test projectAdd <appSetting> elementSet field from config fileUse field in method testWrite code to create fileWrite code to remove fileUse a configu...原创 2018-07-13 16:36:42 · 271 阅读 · 0 评论 -
TestContext Property
TestContext Property1. Create property 'TestContext' in all your test classes.2. Automatically created by unit test frame work.3. Set before each test is run.4. Useful for accessing test information.5...原创 2018-07-13 16:49:34 · 260 阅读 · 0 评论 -
Initialization Attributes and Cleanup Attributes
原创 2018-07-13 16:54:34 · 197 阅读 · 0 评论