Hello, World!

My first blog post.

Posted on January 18, 2023

I figured I would start my blog out with a classic hello world in my favorite language, C#!

Console.WriteLine("Hello, World!");

Starting with C# 10 and .NET 6, the simplest app got a lot simpler. For comparison, here is what it used to look like:

using System;

namespace MyApp
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }
}

You can read more about the change here: learn.microsoft.com/en-us/dotnet/core/tutorials/top-level-templates

I have been using C# and .Net for over 8 years now and I really love it. I've also used Java, PHP, C++, Python, and JavaScript but C# is my favorite. If you want to learn C# here is a good place to start: learn.microsoft.com/en-us/dotnet/csharp/.