摘要:
打开文件 FileOpen 语法: FileOpen user_var(handle output) filename openmode Opens a file named "filename", and sets the handle output variable with the handl 阅读全文
摘要:
OBJECT类型 object(System.Object)是所有类型的终极父类,所有类型都可以向上转换为object。 下面我们看一个例子 public class Stack { int position; object[] data = new object[10]; public void 阅读全文
摘要:
继承(Inheritance) 一个类可以继承另一个类,从而对原有的类进行扩展和自定义,这里涉及的两个类呢,一个就叫子类,另一个叫父类(也叫基类和派生类),看个例子: public class Asset { public string Name; } public class Stock : As 阅读全文