翻譯社

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HelloWorldApp
{
    class Program
    {
       / C# Console 主法式
        static void Main(string[] args)
        {
            // 輸出 Hello World! 至 Console
            Console.WriteLine("Hello World");
            // 讀 Key, 這裡用來暫停避免直接關閉 Console 視窗
            Console.ReadKey();
        }
    }
}

相關條目[編輯]

  1. ^ Chistory. Cm.bell-labs.com. [2013-08-18]. 
  2. ^ History of Java programming language. www.freejavaguide.com. [2013-08-18]. 
  3. ^ The Birth of Visual Basic. Forestmoon.com. [2013-08-18]. 
  4. ^ Powersoft History PowerBuilder History. Lannigan.org. [2013-08-18]. 
  5. ^ Krill, Paul. Microsoft converging programming languages | Developer World. InfoWorld. 2009-02-27 [2013-08-18]. 
  6. ^ Microsoft Intermediate Language. Dotnet-guide.com. [2013-08-18]. 
Module HelloWorldApp
    ' VB.net Console 主法式
    Sub Main()
        ' 輸出 Hello World! 至 Console
        Console.WriteLine("Hello World!")
        ' 讀 Key翻譯社 這裡用來暫停避免直接關閉 Console 視窗
        Console.ReadKey()
    End Sub

End Module

C#

VB.NET



文章來自: https://zh.wikipedia.org/wiki/C%EF%BC%83%E4%B8%8EVisual_Basic_.NET%E7%9A%84%E6%AF%94%E8%BE%83有關翻譯的問題歡迎諮詢天成翻譯社

arrow
arrow