professor.cs
来自「北大青鸟-Cs学生用书-教师用书实例源代码.rar」· CS 代码 · 共 34 行
CS
34 行
using System;
using System.Collections;
namespace ApplicationForm
{
/// <summary>
/// Summary description for Professor.
/// </summary>
public class Professor:Employee
{
protected string _courses;
public Professor()
{
//
// TODO: Add constructor logic here
//
}
public Professor(string EmpId, string Name, long PhoneNo, string Address, string PerAddress, string Courses, string EStat):base(EmpId,EStat)
{
//
// TODO: Add constructor logic here
//
this._name = Name;
this._phoneNumber = PhoneNo;
this._address = Address;
this._permanentAddress = PerAddress;
this._courses = Courses;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?