Created
November 29, 2016 08:36
-
-
Save chamook/9cc5bfd02c381b4ea3836faafc61ddf5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| private static Thing MakeThing(string thingName, int thingVal, string thirdParam) | |
| { | |
| if (thingName == null) | |
| throw new ArgumentNullException(nameof(thingName)); | |
| if (thirdParam == null) | |
| throw new ArgumentNullException(nameof(thirdParam)); | |
| return new Thing(thingName, thingVal, thirdParam); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment