Quote Originally Posted by jmcilhinney View Post
Like I said, we shouldn't have to teach you the basics but it's probably not worth the pain to fight it, so here goes.
This is one of those rare occasions where I don't really fault the OP. Even I do sometimes forgot what features were introduced when. This is especially true for C# that seems to get a thousand new features every week! The different possible combinations of Framework and IDE versions don't exactly help either. For example, Tasks are a good example of something that has implementations in both the language(Async/Await) and the Framework(The Task class). I can see how something like this can confuse people. It's kind of hard sometimes to keep in your head what you can and cannot do based on what IDE/Framework/language version you're currently using. I make mistakes like this sometimes when I switch between .Net 5 and the classic Framework.