I need to be able to open a text file, and read all the lines and store them into an array.
I did this in a Windows Application like so:
vb.net Code:
Dim StringArrayOfTextLines() As String = File.ReadAllLines("file\wordlist.txt") 'load wordlist Dim MaxAmount As Integer = StringArrayOfTextLines.GetUpperBound(0) + 1
How can I do this in a Windows Mobile Application?


Reply With Quote
