📄 xmlcomments.cs
字号:
using System;
/// <remarks>
/// The Employee class provides information about each company employee.
/// </remarks>
public class Employee
{
/// <summary>
/// The private name member stores the employee name
/// </summary>
/// <value>name is the private class member that stores the employee name</value>
private string name;
/// <summary>Name accesses the value employee name member</summary>
/// <value>Name accesses the value employee name member</value>
public string Name
{
get
{
return name;
}
set
{
name = value;
}
}
/// <summary>Employee is the classs constructor method
/// </summary>
/// <param name="name">Contains the employee's name</param>
/// <param name="id">Contains the employee's id number</param>
public Employee(string name, int id)
{
this.Name = name;
this.id = id;
}
/// <summary>The private id member contains the employee id number</summary>
/// <value>id contains the employee id number</value>
private int id;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -