Skip to content

Instantly share code, notes, and snippets.

@JayBazuzi

JayBazuzi/ifstructure.cs

Forked from isidore/ifstructure.cs
Last active Jul 30, 2016
Embed
What would you like to do?
If structure
string result = null;
if (result == null)
result = Win();
if (result == null)
result = Advantage();
if (result == null)
result = ScoreNormal();
if (result == null)
result = ScorePerson1();
if (result == null)
result = ScorePerson2();
if (result == null)
result = ScoreTie();
return result;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment