I'm trying to write the following code:
var name = "Kyle";
var sayHello = () => $"Hello, {name}";
Console.WriteLine(sayHello());
But I get the error:
Feature 'inferred delegate type' is not available in C# 9.0.
What does that mean and how can I fix it?