//using System;
using static System.Console;
namespace ConsoleApp5
{
class Program
{
static void Main(string[] args)
{
//Console.WriteLine("Hello World!");
WriteLine("Hello World!");
}
}
}

博客围绕C#的using static声明展开,虽未给出具体内容,但可知是关于C#这一特性的相关探讨,using static声明在C#编程中有其特定用途和意义,能为代码编写带来便利。
//using System;
using static System.Console;
namespace ConsoleApp5
{
class Program
{
static void Main(string[] args)
{
//Console.WriteLine("Hello World!");
WriteLine("Hello World!");
}
}
}

2150
406
3811

被折叠的 条评论
为什么被折叠?