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

📄 name.cs

📁 微软(Microsoft)出版社C井练习文件及解答
💻 CS
字号:

namespace Indexers
{
	struct Name
	{
		public Name(string text)
		{
			this.name = text;
		}

		public string Text
		{
			get { return this.name; }
		}

		public override int GetHashCode()
		{
			return this.name.GetHashCode();
		}

		public override bool Equals(object other)
		{
			return (other is Name) && Equals((Name)other);
		}
		
		public bool Equals(Name other)
		{
			return this.name == other.name;
		}

		private string name;
	}
}

⌨️ 快捷键说明

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