예제 #1
0
 static void Main(string[] args)
 {
     Console.WriteLine("=================    Generic Where Constraints Examples ======================");
     GenericWhereConstraints.Examples();
     Console.WriteLine("=================    Fixed Memory Examples ======================");
     FixedKeywordExamples.Examples();
     Console.WriteLine("=================    Iteration Keywords Examples ======================");
     IterationKeywordsExamples.Examples();
     Console.WriteLine("=================    readonly Keyword Examples ======================");
     ReadonlyKeywordExamples.Examples();
 }
예제 #2
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();
 }
예제 #3
0
파일: Program.cs 프로젝트: zigf/samples
 static void Main(string[] args)
 {
     Console.WriteLine("=================    Stack Alloc Examples ======================");
     StackAllocExamples.Examples();
     Console.WriteLine("=================    Generic Where Constraints Examples ======================");
     GenericWhereConstraints.Examples();
     Console.WriteLine("=================    Fixed Memory Examples ======================");
     FixedKeywordExamples.Examples();
     Console.WriteLine("=================    Iteration Keywords Examples ======================");
     IterationKeywordsExamples.Examples();
     Console.WriteLine("=================    readonly Keyword Examples ======================");
     ReadonlyKeywordExamples.Examples();
     Console.WriteLine("=================    true and false operators examples ==============");
     LaunchStatusTest.Main();
     Console.WriteLine("=================    true and false literals examples ===============");
     TrueFalseLiteralsExamples.Examples();
 }