Created
March 2, 2011 20:26
-
-
Save gamlerhart/851675 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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