c#中可以给命名空间起个别名。
using sys
= System
;
namespace the_second_helloworld
{
class Program
{
static void Main(string[] args
)
{
int[] arr
= { 0,1,2};
foreach(int i
in arr
)
{
sys
::Console
.WriteLine(i
);
}
}
}
}
运行结果:
0
1
2
转载请注明原文地址:https://ipadbbs.8miu.com/read-30979.html