示例#1
0
文件: Program.cs 项目: wzchua/docs
 static async Task Main(string[] args)
 {
     Console.WriteLine("=================    Generic Where Constraints Examples ======================");
     GenericWhereConstraints.Examples();
     Console.WriteLine("=================    Fixed Memory Examples ======================");
     FixedKeywordExamples.Examples();
     Console.WriteLine("=================    readonly Keyword Examples ======================");
     ReadonlyKeywordExamples.Examples();
     Console.WriteLine("=================    using Keyword Examples ======================");
     UsingStatements.Examples();
     Console.WriteLine("=================    try-catch Keyword Examples ======================");
     await AsyncExceptionExamples.Examples();
 }
示例#2
0
 static void Main(string[] args)
 {
     UsingStatements.Examples();
 }