csfile.cs

来自「c#设计模式随书源码 c#设计模式随书源码」· CS 代码 · 共 25 行

CS
25
字号
using System;
using System.IO ;

namespace SwimmerTokenizer
{
	/// <summary>
	/// A simple interface to file IO methods
	/// </summary>
	public class csFile {
		private File fl;
		private StreamReader ts;
		public csFile(string filename) 	
		{
			ts = File.OpenText  (filename);
			
		}
		public string readLine() {
			return ts.ReadLine ();
		}
		public void close() {
			ts.Close ();
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?