Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@erikdietrich
Created March 18, 2013 01:02
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 erikdietrich/5184357 to your computer and use it in GitHub Desktop.
Save erikdietrich/5184357 to your computer and use it in GitHub Desktop.
public abstract class MailPiece
{
public abstract decimal Postage { get; set; }
public abstract decimal Width { get; set; }
public abstract decimal Height { get; set; }
public abstract decimal Thickness { get; set; }
public string GetStatistics(int zipCode)
{
return string.Format("Zip code is {0}, postage is {1} and height is {2}",
zipCode, Postage, Height);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment