Hi all
Is there any deficiency performance if import a lot of name space in Web.config or in every single cs file while it's not necessary to be in all classes ?
Thank you
Hi all
Is there any deficiency performance if import a lot of name space in Web.config or in every single cs file while it's not necessary to be in all classes ?
Thank you
Short answer: No, there shouldn't be any runtime performance impact. 'import' is a compiler directive that is more related to compilation.
However depending on the nature of the way you deploy your website/webapp, the compilation might take place during 'production' and hence might have some influence, though I would not think it'll be much.