This allows consumers to easily opt in or out of using your extensions and seeing them in Intellisense.
namespace Agoda.MyApp.MyExtensions
{
public static class Extensions
{
...
}
}
Where possible, prefer to extend an interface rather than a class. If appropriate, your extension method will be a lot more useful on IEnumerable
than List
.