Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tobbebex
on Sept 24, 2021
|
parent
|
context
|
favorite
| on:
Asynchronous Programming in C#
An non-async Task<int> is returning a Task<int> object, where the return statement of an async Task<int> method is of type int (which will be wrapped in the resulting Task). ”return 1;” eg only works in the latter case.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: