Skip to content

Instantly share code, notes, and snippets.

@Chibuikekenneth
Last active October 29, 2020 15:47
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 Chibuikekenneth/23fb7e9d968b72213c0b4e87aad3c966 to your computer and use it in GitHub Desktop.
Save Chibuikekenneth/23fb7e9d968b72213c0b4e87aad3c966 to your computer and use it in GitHub Desktop.
public class HavardUniversity : ISchool
{
public string Learn(string student)
{
return string.Format($"My name is {student}, and I attend Havard");
}
}
public class OxfordUniversity : ISchool
{
public string Learn(string student)
{
return string.Format($"My name is {student}, and I attend Oxford");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment