Created
July 11, 2016 09:24
-
-
Save simpleprogrammer-shared/af832a900a86733d79b9e3c5136f76d3 to your computer and use it in GitHub Desktop.
Types of Duplication in Code 3
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 int FindIntMatch(int i) | |
{ | |
var match = (int)container.Get(i); | |
return match; | |
} | |
public string FindStringMatch(string s) | |
{ | |
var match = (string)container.Get(s); | |
return match; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment