/*
@project : CS1.4 编程规范
@filename : CS1.4.cs
@author : 鞠宪庆 Tony
@date : 2018-10-22
@description :
1.4.1 关键字
abstract as
base bool break byte
case catch char checked class const continue
decimal default delegate do double
else enum event explicit extern
false finally fixed float for foreach
goto
if implicit in int interface internal is
lock long
namespace new null
object operator out override
params private protected public
readonly ref return
sbyte sealed short sizeof
stackalloc static string struct switch
this throw true try typeof
uint ulong unchecked unsafe ushort using
virtual void volatile while
1.4.2 命名规则
1.4.3 注释方法
1.4.4
*/
using System;
//using System.Math;
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
sbyte a = 100;
char b = '0';
Console.WriteLine(a + b); // 148
Console.WriteLine(System.Math.PI); // 3.14159265358979
Console.WriteLine(System.Math.E); // 2.71828182845905
}
}