Hesham Hassanein

Hesham Hassanein

  • NA
  • 140
  • 17k

Use of Variables in different using methods

Sep 27 2016 8:22 AM

I have a global variable in a while loop inside a using statement that produces the following strings every loop:


C:\Users\G\Desktop\NewFolder\CXXHt.09-20-2016.14.10.28-{0}

C:\Users\G\Desktop\NewFolder\CX9Nt.09-20-2016.11.50.54-{0}

C:\Users\G\Desktop\NewFolder\CX21Zt.09-20-2016.07.26.56-{0}

How can i use these string values inside another using statement. For example, when the first loop output the first line which is C:\Users\G\Desktop\NewFolder\CXXHt.09-20-2016.14.10.28-{0}

assign this value to a string in another using statement and then go to next loop step and so on


Answers (5)