There's not a lot to put here, so here's the TL:DR It's a simple threaded C# port scanner. I wrote this to play around with Execute-Assembly.
Example:
C:\Users\User\Downloads> .\csharp-portscanner.exe 192.168.0.1 1 1024
Port 53 is open
Port 80 is open
Port 443 is open