c# - Does using namespaces affect performance or compile time? -


if put classes of project in same namespace classes available everywhere in project. if use different namespaces not classes available everywhere. restriction.

does using namespaces affect compile time somehow? since compiler has less classes in each namespace , not namespaces used time may have little less trouble finding right classes.

will using namespaces affect applications performance?

it won't affect execution-time performance.

it may affect compile-time performance, doubt significant @ all, , wouldn't predict way affect it. (do have issue long compile times? if so, may want try , measure difference... otherwise won't know effect. if don't have problem, doesn't matter.)


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -