Beruflich Dokumente
Kultur Dokumente
} while (true);
tr.Close();
:
:
Displaying the Contents of the List Emps
do
{
txtline = tr.ReadLine();
if (txtline == "xxx")
break;
string[] field = txtline.Split('\t');
Emps.Add(new Employee(field[0].Trim(),
field[1].Trim(),
Convert.ToInt32(field[2]),
Convert.ToInt32(field[3]),
Convert.ToDouble(field[4])));
} while (true);
tr.Close();
Reading and Writing Text Files
continued
Type Conversions
Enumerations
Structs
Arrays
String Manipulation