Hello, World!
Since this is the first post in a programming blog I think a Hello World program in Winforms and ASP.NET is a good idea.
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
//The Winforms version
using System;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.Write("Hello, World!");
}
}
} |
|
1 2 3 4 5 6 7 8 9 |
<script runat="server">
// The ASP.NET version
protected void Page_Load(object sender, EventArgs e)
{
Response.Write("Hello, World!");
}
</script> |





