Skip to content

Instantly share code, notes, and snippets.

@conanak99
Last active August 3, 2016 10:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save conanak99/79e7d4a22c612b5ff3da4ae77f175ec6 to your computer and use it in GitHub Desktop.
// Helper đã bự, ta cần tách
public class Helper {
public string GetUser();
//.....
public DateTime GetTime();
//.....
public string GetCurrentLocation();
//.....
public DbConnection GetDatabaseConnection();
}
// Tách helper thành các helper nhỏ hơn
public class UserHelper {
}
public class TimeLocationHelper {
}
public class DatabaseHelper {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment