Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic

NMZivkovic/IBlogItem.cs

Last active Mar 31, 2018
Embed
What would you like to do?
public interface IBlogItem
{
void Expand();
}
public class Article : IBlogItem
{
public void Expand()
{
// Article expand implementation.
}
}
public class Series : IBlogItem
{
public void Expand()
{
// Series expand implementation.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment