Stefan Schranz
Apr 22, 2021

--

@Craig

Yes, that is correct. However, this can often easily slip in an inline lambda for which the types are automatically inferred. In that case you might have an async method, but forget to return await and just return instead. The compiler will happily eat that and make it a Task<Task>.

--

--

Stefan Schranz
Stefan Schranz

Written by Stefan Schranz

26 year old full stack software developer from Germany - Enthusiatic about C#, .Net and Cloud — Visit me at https://dotschranz.net/

No responses yet