Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using System;
namespace CastleDemo.Infrastructure
{
public interface IStoryTeller
{
string GoodMorning();
}
}
public class DutchStoryTeller : IStoryTeller
{
public string GoodMorning()
{
return "goedemorgen";
}
}
public class FrenchStoryTeller : IStoryTeller
{
public string GoodMorning()
{
return "bonne matin";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment