Instantiating Streamwritter

  • Thread starter Thread starter Student
  • Start date Start date
S

Student

BlankHelp instantiating a StreamWriter object. I am trying to enter the data from a array into a data file made from the streamwritter.
Where can I find more information on this subject?
 
BlankHi Student,

There is a lot of information on mdsn
msdn.microsoft.streamwriter
http://msdn.microsoft.com/library/d.../html/frlrfSystemIOStreamWriterClassTopic.asp

However, when you are programming (not thinking) start always with thinking
from the object you have and than to the object you have to make

What you have to do is to loop through your array using one of the methods
from "for" and than write line by line using the streamwriter.

With this information it should be very easy.

Because you are a student, you get no code here, do not try to hide that,
mostly we see it soon enough while with a student there is more patience.

I hope this helps?

Cor
 
Back
Top