3
Answers

Unable to View File

Jagjit Saini

Jagjit Saini

6y
715
1
Hi
 
  I am able to save file with below code
 
string folderPath = @"e:\Doc\Loc\";
 
Unable to view file with below line . 
 
string httppath = "http://202.162.52.10/Doc/Loc/abc.txt";
 
Thanks 
 
Answers (3)
3
Sachin Singh

Sachin Singh

11 55.8k 87.3k 4y
there are various ways , one is to use NUnit
https://www.c-sharpcorner.com/article/nunit-with-C-Sharp/
Accepted
2
Rajanikant Hawaldar

Rajanikant Hawaldar

32 38.8k 451k 4y
https://www.c-sharpcorner.com/article/a-basic-introduction-of-unit-test-for-beginners/
1
Harsh Shah

Harsh Shah

NA 1.2k 7.3k 4y
Refer to these
https://docs.microsoft.com/en-us/visualstudio/test/walkthrough-creating-and-running-unit-tests-for-managed-code?view=vs-2019
https://www.c-sharpcorner.com/article/a-basic-introduction-of-unit-test-for-beginners/ 
1
Khaja Moizuddin

Khaja Moizuddin

161 11.5k 1.9m 4y
You can do unit testing with various ways, like by using MsTest, MBUnit, NUnit etc, please refer one of my article where I used MBUnit for uni testing