The following works in a C# solution but not VB.Net. Any idea what I need to change for this to work?

Crack open VS2022 and create a new VB ASP.Net Web App (.Net Framework)
Framework: 4.8
Web...