Update to .NET 9

.NET 9 being now out and bringing in lots of improvements, I think it would be smart to move to it.