diff options
Diffstat (limited to 'fr-fr/csharp-fr.html.markdown')
| -rw-r--r-- | fr-fr/csharp-fr.html.markdown | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/fr-fr/csharp-fr.html.markdown b/fr-fr/csharp-fr.html.markdown index e51eacc8..58b3f386 100644 --- a/fr-fr/csharp-fr.html.markdown +++ b/fr-fr/csharp-fr.html.markdown @@ -239,7 +239,8 @@ sur une nouvelle ligne! ""Wow!"", quel style";              // Opérateur ternaire              // Un simple if/else peut s'écrire :              // <condition> ? <valeur si true> : <valeur si false> -            string isTrue = (true) ? "True" : "False"; +            int toCompare = 17; +            string isTrue = toCompare == 17 ? "True" : "False";              // Boucle while              int fooWhile = 0; | 
