?? mytime.cs
字號:
using System;
namespace chapter3
{
/// <summary>
/// MyTime 的摘要說明。
/// </summary>
delegate void TimeDelegate(string a);
public class MyTime
{
public static void HelloTime(string s)
{
Console.WriteLine("Hello {0}! The time is {1} now!",s,DateTime.Now);
}
public static void GoodbyeTieme(string s)
{
Console.WriteLine("Goodbye {0}! The time is {1} now!",s,DateTime.Now);
}
public void SayTime(string s)
{
Console.WriteLine("{0}! The time is {1} now!",s,DateTime.Now);
}
public MyTime()
{
//
// TODO: 在此處添加構造函數(shù)邏輯
//
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -