Created
April 22, 2016 15:47
-
-
Save vdonchev/e68938f122f0c526da1be779a6cbc525 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
| var notes = new | |
| { | |
| Value = new | |
| { | |
| Opponents = new List<string>() { "Oppnent 1", "Opponent 2" } | |
| } | |
| }; | |
| Console.WriteLine(notes.Value.Opponents.Count != 0 | |
| ? $"-opponents: {string.Join(", ", notes.Value.Opponents)}" | |
| : "-opponents: (empty)"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment