Skip to content

Instantly share code, notes, and snippets.

@conanak99

conanak99/helperBig.cs Secret

Last active Aug 3, 2016
Embed
What would you like to do?
// 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
You can’t perform that action at this time.