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

📄 databool.cs

📁 C#的一些例子
💻 CS
字号:
using System;

namespace _3._11
{
	/// <summary>
	/// Class1 的摘要说明。
	/// </summary>
	class Databool
	{
		/// <summary>
		/// 应用程序的主入口点。
		/// </summary>
		[STAThread]
		static void Main(string[] args)
		{
			//
			// TODO: 在此处添加代码以启动应用程序
			//
			bool b;
			b=true;
			Console.WriteLine("{0}",b);
			b=false;
			Console.WriteLine("{0}",b);
			b=true;
			if(b)
				Console.WriteLine("This is executed");
			b=false;
			if(b)
				Console.WriteLine("This is not executed");
			Console.WriteLine("10>9 is {0}",10>9);
			Console.WriteLine("10<9 is {0}",10<9);
		}
	}
}

⌨️ 快捷键说明

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