完成如下代码:使其输出“Hello World!”
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HelloWorld
{ class Program
{ static void Main(string[] args)
{
if (/* 补充这里 */)
Console.Write("Hello");
else
Console.Write(" World!");
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HelloWorld
{ class Program
{ static void Main(string[] args)
{
if (Console.Write("Hello") is object)
Console.Write("Hello");
else
Console.Write(" World!");
}
}
}