Skip to content

Instantly share code, notes, and snippets.

@Itslet
Created March 26, 2011 16:51
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 Itslet/888433 to your computer and use it in GitHub Desktop.
Save Itslet/888433 to your computer and use it in GitHub Desktop.
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