Microsoft.learn solution? - C#