Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I came up with a taught what if i use "Using" statement inside a namespace section in a file (Customer.cs)?

Instead of using something like below

C#
using System;
using System.Windows.Input;
using BusinessControls.PerformanceReport.Data;
using BusinessControls.PerformanceReport.View.PerformanceReport;
using BusinessControls.PerformanceReport.ViewModel.PerformanceReport;

namespace BusinessControls.PerformanceReport.Commands
{
......
}


what will happen when i use something like this.

C#
using System;
using System.Windows.Input;


namespace BusinessControls.PerformanceReport.Commands
{
using Data;
using View.PerformanceReport;
using ViewModel.PerformanceReport;
......
}


logically the two are same but, There was some difference in loading. But i don't know what was that can anyone able to figure it out?
Posted

1 solution

 
Share this answer
 
Comments
Gold$Coin 9-Mar-15 22:26pm    
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900