?? program.cs
字號:
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace Example3_5 {
class Program {
static void Main(string[] args) {
Console.WriteLine("True && False is : {0}", MyBoolTrue() && MyBoolFalse());
Console.WriteLine("False && True is : {0}", MyBoolFalse() && MyBoolTrue());
Console.ReadLine();
}
//返回True的方法,同時輸出“True returned!”
static bool MyBoolTrue() {
Console.WriteLine("True returned!");
return true;
}
//返回False的方法,同時輸出“False returned!”
static bool MyBoolFalse() {
Console.WriteLine("False returned!");
return false;
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -