I think I’m missing something but I cant seem to get await to work in .net 4.5
Does anyone know the correct syntax here? everywhere I’ve looked seems to use exactly what I’ve got. (see Proper use of Task.Delay to delay key presses)

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It looks like you’re trying to invoke an asynchronous method from a lambda. You’re probably missing the
asyncat the start. For example”