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.


//The Winforms version

using System;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Write("Hello, World!");
        }
    }
}
<script runat="server">
    
    // The ASP.NET version
    
    protected void Page_Load(object sender, EventArgs e)
    {
        Response.Write("Hello, World!");
    }
</script>