1 using System;
 2 using System.Collections.Generic;
 3 using System.Linq;
 4 using System.Text;
 5 using System.Threading;
 6 
 7 namespace ConsoleApplication1
 8 {
 9     class Program
10     {
11         static void Main(string[] args)
12         {
13             //if(/* 填写内容,是的输出 hello word */)
14             //if (Console.Write("hello") is object)
15             //if (new Func<bool>(() => { Console.Write("hello"); return false; }).Invoke())
16             //if (true) Console.Write("hello word");else if(false)
17             //if(Convert.ToBoolean(Type.GetType("System.Console").GetMethod("Write",new Type[]{System.Type.GetType("System.String")}).Invoke(null,new string[]{"hello "})))
18             if((!((new Thread(()=>Console.Write("hello "))).Start() is object) && Thread.Sleep(100) is object))
19             {
20                 Console.Write("hello");
21             }
22             else
23             {
24                 Console.Write(" word");
25             }
26 
27             Console.Read();
28         }
29     }
30 }

相关文章:

  • 2021-10-03
  • 2021-07-05
  • 2022-02-19
  • 2021-12-24
  • 2021-08-21
  • 2021-05-11
  • 2021-07-21
  • 2021-10-12
猜你喜欢
  • 2021-10-24
  • 2021-06-27
  • 2021-09-09
  • 2021-10-01
  • 2021-06-12
  • 2021-10-25
  • 2021-09-25
相关资源
相似解决方案