- Improving your C# Skills
- Ovais Mehboob Ahmed Khan John Callaway Clayton Hunt Rod Stephens
- 53字
- 2021-07-02 13:08:42
Parameters
The out and ref parameters are not allowed as parameters in the method signature. If multiple values need to be returned, tuples or a custom data structure can be used. The method should always return Task or Task<TResult>, as discussed previously.
Here are a few signatures for both synchronous and asynchronous methods:
