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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top