Norgul Norgul - 6 months ago 75
C# Question

C# namespace impact on speed

I was wondering if there is some difference in performance between declaring a namespace with

keyword, or referencing it directly each time?


At execution time, there is no difference, since both options compile to the same IL code.

Theoretically, there might be a difference in compilation time, but I doubt that it is even measurable.