07
2012
04

C# 派生类中的构造函数

using System;
public class Person //基类
{
private string name;
private int age;
private long ID;
public Person(string n, int a, long i)
{
name = n;
age = a;
ID = i;
}
public virtual void Display()
{
...
«1»