Jump to content

ASP.NET help with writing array to a file

- - - - -

  • Please log in to reply
No replies to this topic

#1
kenneth_888

kenneth_888

    Newbie

  • Members
  • Pip
  • 6 posts
hi,

i would like to write the following into a file call shareprice.txt but i keep on getting 0 0 0 0 0 0 0

For 10 types of shares for a period from 1 to 365 should become available in a file called shareprice.txt

the 10 types of share should generate random numbers from 50 to 150
it should look like this in the file:

1 25 12 56.....etc (generating random numbers from 50 to 150)
2
3
4
5
6
7
.
.
.
etc up to 365




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users