crawlsampleunit.cs

来自「用C#编写的一个款搜索engine的源代码!摘自<Visual c#200」· CS 代码 · 共 43 行

CS
43
字号
using System;

namespace SECompare.Kernel
{
	/// <summary>
	/// Summary description for CrawlSampleUnit.
	/// </summary>
	public class CrawlSampleUnit
	{
		private String mWords;
		private int mFrequency;

		public CrawlSampleUnit(String Words,int Frequency)
		{
			this.mWords = Words;
			this.mFrequency = Frequency;
		}


		public String Words
		{
			get
			{
				return this.mWords;
			}
		}


		public int Frequency
		{
			get
			{
				return this.mFrequency;
			}
		}

		public override String ToString()
		{
			return this.mWords + "\t" + this.mFrequency.ToString();
		}
	}
}

⌨️ 快捷键说明

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