Neo4j .NET Hello World example not working with the newest version of Neo4j driver

It seems like the published Hello World Example does not work with the most recent version of the .NET driver - when I put this code into Visual Studio after downloading the most recent version from nuGet, it has errors: https://neo4j.com/docs/driver-manual/current/get-started/#driver-get-started-hello-world-example.
Could anyone help me out with getting this working? I was hoping to use it as a baseline to build my own program.