ここの誰もがこれで私を助けることができます
入力ファイル
Type Reference
WIN 00001
WIN 00001
WIN 00001
MAC 00001
MAC 00001
基本的に、最初の3文字が等しくないかどうかを比較する必要があります
優先出力は
タイプリファレンス
WIN 00001
WIN 00001
WIN 00001
以下のコード
Dim fh As StreamReader
Dim os as string
fh = new StreamReader("haggis.txt")
Dim s As String = fh.ReadLine()
While not s Is Nothing
os = s.Substring(0,3)
if os <> os then
Console.WriteLine("Write here")
else
end if
s = fh.ReadLine
End While
fh.Close()
End Sub