文件名称:Csharp
介绍说明--下载内容均来自于网络,请自行研究使用
C#入门代码 25个小程序,初学者有用
一、从控制台读取东西代码片断:
using System
class TestReadConsole
{
public static void Main()
{
Console.Write(Enter your name:)
string strName = Console.ReadLine()
Console.WriteLine( Hi + strName)
}
}-C# Entry code 25 small procedures, a useful one for beginners, to read things from the console code snippet: using System class TestReadConsole (public static void Main () (Console.Write (Enter your name:) string strName = Console.ReadLine () Console.WriteLine (Hi+ strName)))
一、从控制台读取东西代码片断:
using System
class TestReadConsole
{
public static void Main()
{
Console.Write(Enter your name:)
string strName = Console.ReadLine()
Console.WriteLine( Hi + strName)
}
}-C# Entry code 25 small procedures, a useful one for beginners, to read things from the console code snippet: using System class TestReadConsole (public static void Main () (Console.Write (Enter your name:) string strName = Console.ReadLine () Console.WriteLine (Hi+ strName)))
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C#入门代码 .txt