using System; class ExampleClass { static void Main() { Console.WriteLine("Hello,world!"); } } 作者: lbsong 时间: 2011-4-29 09:14
6. Vb.Net
Visual Basic .NET (VB.NET)是一种基于.NETFramework运行的面向对象电脑编程语言。微软当前为Visual Basic提供两种主要的开发环境:商业软件MicrosoftVisual Studio以及免费的Microsoft Visual Studio Express。
代码:
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles Button1.Click Msgbox("Hello, World") End Sub End Class
<html> <head><title>simple page</title></head> <body> <script type="text/javascript"> document.write('Hello World!'); </script> <noscript> <p>Your browser either does not support JavaScript, or you have JavaScript turned off.</p> </noscript> </body> </html>