⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 employee1.cs

📁 画图的作用 以及其他的类似图型转换的
💻 CS
字号:
using System;

namespace chapter3
{
	/// <summary>
	/// Employee1 的摘要说明。
	/// </summary>
	public class Employee1: Person
	{
		private string department;
		private decimal salary;
		public Employee1(string n ,int a,long i,string d,decimal s):base(n,a,i)
	{
		//age=a; 错误表示,private 修饰不能被派生类访问
		department =d ;
		salary=s;

	}
	public  void display()
{
	base.display();
	Console.WriteLine("Department : {0}",department);
	Console.WriteLine("Sarlary: {0}",salary);
}
	}
}

⌨️ 快捷键说明

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