Improving your C# Skills
上QQ阅读APP看书,第一时间看更新

Return type

The method signature should return either a System.Threading.Tasks.Task or System.Threading.Tasks.Task<TResult>. The task's return type is equivalent to the method that returns void, whereas TResult is the data type.