Does variable name length matter for performance C#?

前端 未结 6 2300
别那么骄傲
别那么骄傲 2021-02-18 22:28

I\'ve been wondering if using long descriptive variable names in WinForms C# matters for performance? I\'m asking this question since in AutoIt v3 (interpreted language) it was

6条回答
  •  攒了一身酷
    2021-02-18 22:54

    No it doesn't. Compiler actually does not save original variable names, you can look at the IL code of any compiled assembly with disassembler.

提交回复
热议问题