简单的学生管理系统,适合初学者学习
联系人:7 8 7 0 6 9 3 5 4 文件操作类 using System; using System
Collections
Generic; using System
Linq; using System
Text; using System
Collections; using System
IO; namespace student { /// /// 文
件t读¨¢写¡ä类¤¨¤ /// class flleaccess { private static string fileName; /// /// 静2态¬
或¨°设¦¨¨置
于®¨²存ä
储ä¡é的Ì
¡ê /// public static string FileName { get { return fileName; } set { fileName = value; } } #region 读¨¢取¨
数ºy据Y /// /// 读¨¢取¨
数ºy据Y,ê
ArrayList中D /// /// 返¤¦Ì回
类¤¨¤ public static ArrayList ReadData() { ArrayList list = new ArrayList(); if (File
Exists("student
txt") && chekfile()) { FileStream fs = new FileStream(fileName, FileMode
Open, FileAccess
Read); StreamReader sr = new StreamReader(fs, Encoding
Default); string temp = nu