Skip to content

Instantly share code, notes, and snippets.

@conanak99
Last active August 3, 2016 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save conanak99/0c0c9bba5d84c391299cddf9c291db86 to your computer and use it in GitHub Desktop.
Save conanak99/0c0c9bba5d84c391299cddf9c291db86 to your computer and use it in GitHub Desktop.
// Class Helper vi phạm SRP
// Nhưng vì nhỏ, ta có thể bỏ qua
public class Helper {
public string GetUser();
public DateTime GetTime();
public string GetCurrentLocation();
public DbConnection GetDatabaseConnection();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment