Created
March 18, 2013 01:02
-
-
Save erikdietrich/5184357 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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