Answer the question
In order to leave comments, you need to log in
What is the best way to write?
When writing a method signature, you can write like this:
async public void func()
Or you can do this:
public async void func()
So which is better in terms of code cleanliness?
How to act in situations when keywords can be rearranged?
Answer the question
In order to leave comments, you need to log in
Resharper suggests using the second option and can be considered an authority in terms of design.
In terms of performance, there is no difference, it's just the design of the code and there are simply no situations when it would be necessary to change the order.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question