I\'m new to programming and decided to take VB.net up as my first language, I\'m quite new and I\'m currently trying to write a sorting program. I\'m trying to load in a file, s
You could try this to save every number of the file in a array:
Dim fileReader As StreamReader
fileReader = My.Computer.FileSystem.OpenTextFileReader("F:\\test.txt")
Dim numeros As New List(Of String)
Dim stringReader As String
stringReader = Convert.ToChar(fileReader.Read)
Do While (fileReader.Peek() >= 0)
stringReader = Convert.ToChar(fileReader.Read)
If stringReader Like "#" Then
numeros.Add(stringReader)
End If
Loop