Is there any overhead in the use of anonymous methods?

后端 未结 8 1745
遇见更好的自我
遇见更好的自我 2021-02-15 17:27

I would like to know if there is any overhead incurred through the use of anonymous methods when creating a Background worker.

for example:

public void S         


        
8条回答
  •  情书的邮戳
    2021-02-15 17:53

    It's mainly affecting readability - large amounts of code in one place are almost never good ;-)

    In terms of performance see When is optimization premature?

提交回复
热议问题