Code Issues hints for declaration and initialization
October 12th, 2012
Comments off
Here are a few simple code issues of a hint type (suggestion) for declarations and initializations.
Here are a few simple code issues of a hint type (suggestion) for declarations and initializations.
The Optimize Namespace References refactoring removes namespace references (usings (in C#) or Imports (in VB)) that are not needed in the active source file, either because they were added automatically and not used, or because the code that did require them has been removed or relocated. Also, it can automatically sort used references after refactoring is performed: alphabetically, by length or not sort. An additional sorting option is to move all System references at the top of the list (file). The refactoring improves code readability.