Skip to content

Instantly share code, notes, and snippets.

@gamlerhart
Created March 2, 2011 20:26
Show Gist options
  • Save gamlerhart/851675 to your computer and use it in GitHub Desktop.
Save gamlerhart/851675 to your computer and use it in GitHub Desktop.
namespace NDependExperiments
{
public class DataBaseOperation
{
public void Store(object obj) {/** Do stuff **/}
}
class BusinessOperations
{
private readonly DataBaseOperation dbConnection = new DataBaseOperation();
public void CreateNewUser(string userName){/** Do stuff **/}
}
class Visualisation
{
private readonly BusinessOperations businessLogic = new BusinessOperations();
public void Visualize() {/** Do stuff **/}
}
class Program
{
static void Main(string[] args)
{
new Visualisation().Visualize();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment