Using Action as an argument in C# (mimicking a function pointer)

后端 未结 4 762
眼角桃花
眼角桃花 2021-02-06 08:05

I need to write a delegate function that can \'wrap\' some while/try/catch code around a basic UDP call to verify the link. I made it work for Func for a function that has no ar

4条回答
提交回复
热议问题