❔ how can I change this code to higher language in WPF C#
i'm new and i don't know how to change this i tried alot of ways but it still get me errors

<LangVersion>9.0</LangVersion> in the csprojlatestpreview/close <LangVersion>9.0</LangVersion>preview