I am using a StringWriter to write some lines of code in my application. I am writing all these lines using WritLine method of stringwriter.Th en i am passing the string in the StringWriter to StringReader and reading the code line by line .
But the two lines are comming as a single line when i read line by line.
So what i did is the string which i am taking to stringreader i wrote to txt file there all the lines are coming line by line ie., the lines are getting concatenated . So what could br the problem when i was reading line by line.
Thank you
But the two lines are comming as a single line when i read line by line.
So what i did is the string which i am taking to stringreader i wrote to txt file there all the lines are coming line by line ie., the lines are getting concatenated . So what could br the problem when i was reading line by line.
Thank you