Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save simpleprogrammer-shared/3fc1539c76b9be72c0cec96ce7729cc6 to your computer and use it in GitHub Desktop.
Save simpleprogrammer-shared/3fc1539c76b9be72c0cec96ce7729cc6 to your computer and use it in GitHub Desktop.
Refactoring Static Methods Step-Wise vs Wrapping and Delegating
public static class LostOrderService
{
public static IEnumerable<Orders> GetLostOrders(int customerId)
{
}
public static IEnumerable<Customer> GetCustomerWithLostOrders()
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment