110,536
社区成员
发帖
与我相关
我的任务
分享
if() printf("Hello");
else printf(" 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!");
}
}
}
用C#语言,至少我已经想到了三种不同原理的答案。
if (true)Console.Write("Hello World");//)
else
Console.Write(" World!");
>>>>>>>>>>>>>>>>>>>>> 灵感来自sql 注入 请评价 >>>>>>>>>>>>>>>>>>>>>