I found that VB.NET has a very different way of working with files. Does anyone know what is used for the following VB 6 commands?

Open filename For Input As 1

Write #1, x

Input #1, y

Close #1