How to convert a void synchronous method to async method?

前端 未结 0 1325
悲&欢浪女
悲&欢浪女 2021-01-07 03:14

So I have this method that has only synchronous operations:

public void Foo(){
    //do something synchronously
    if(x == 0)
        return;
    else if(x &         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题