I am trying to write a program in VB.NET for file reading , by using File.ReadAllLines(file.txt), How i can show output the program is following,there is no code for showing output what i can use???
Program:
Imports System.IO
Module Module1
Sub Main()
Dim array As String() =
File.ReadAllLines("file.txt")
Dim line As String
For Each line In array
Dim length As Integer = line.Length
Next
End Sub
End Module