Using Statements vs Namespace path? C#

前端 未结 6 404
耶瑟儿~
耶瑟儿~ 2020-11-30 11:19

I recently stopped using using-statements and instead use the full namespace path of any .net object that I call.

Example:

using System;    

namespa         


        
6条回答
  •  抹茶落季
    2020-11-30 11:26

    There's no performance impact; it's mostly a stylistic choice. I find that using using statements reduces the clutter. Plus, with Intellisense, it's easy enough to see the fully qualified namespace.

提交回复
热议问题