Well the method {your array name}.GetLowerBound will return 0 and the method {your array name}.GetUpperBound will return 3.
If you want to loop safely through all the items in an array, you can use foreach instead of for (omitting the use of bounds). And there are ways to read all lines of a textfile into an array with a single command (assuming your file is non-binary, you could for example use: ReadAllLines (http://msdn.microsoft.com/en-us/libr...dalllines.aspx)).
Tom
#EDIT: Slow twice .... no yellow jersey for me.




Reply With Quote