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

📄 utilities.cs

📁 英国几乎所有的报纸都刊登数独游戏
💻 CS
字号:
using System;
using System.Collections;

namespace SuDokuSolution
{
	/// <summary>
	/// A class defining all constants in the project
	/// </summary>
    public class Constants
    {
        /// <summary>
        /// A constant no defining no number in the cell
        /// </summary>
        public static int NoNumber=0;
		public static int nbOfCells=9;
		public static ArrayList validNbs;
		/// <summary>
		/// Nb of lines in Cells 
		/// </summary>
		public static int nbOfLines=3;
		public static void Initiallize()
		{
			validNbs=new ArrayList();
			foreach(int n in new int [] {1,2,3,4,5,6,7,8,9})
			{
				validNbs.Add(n);
			}
		}
	}
}

⌨️ 快捷键说明

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