At work they suggested using the usings within the namespace.
namespace Functions.ProcessBatches.Transfers.Business
{
using AutoMapper;
using Microsoft.AspNet.Identity;
using System.Security.Principal;
public class Ejemplo{
}
}
unlike:
using AutoMapper;
using Microsoft.AspNet.Identity;
using System.Security.Principal;
namespace Functions.ProcessBatches.Transfers.Business
{
public class Ejemplo{
}
}
I asked but they only told me that they are 'good practices' to enclose using in the namespace. Could someone give a more detailed explanation?