Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

Commit

Permalink
Create strings.md (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
badersur authored and ardalis committed Jun 12, 2017
1 parent 101284b commit 2c01502
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/csharp/getting-started/strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ Now it's your turn. Create some code that will take two string variables and bui
> **Tip** {.tip .CLI }
> Note that you can pass multi-word arguments on the command line by wrapping them in quotes. For example, ``dotnet run "Hello **NAME**!" Steve``.
For a little extra credit, support an optional third variable than can be set to either 'loud' or 'quiet'. When loud, change whatever the greeting is to all UPPERCASE. If quiet, change it to all lowercase. If the third variable is null or empty, the greeting should remain unchanged.
For a little extra credit, support an optional third variable that can be set to either 'loud' or 'quiet'.
When loud, change whatever the greeting is to all UPPERCASE. If quiet, change it to all lowercase.
If the third variable is null or empty, the greeting should remain unchanged.

> **Tip** {.tip .newLanguage }
> Remember you don't have to define the greeting before the name; if you declare the name variable first, you can use string interpolation in your greeting (example greeting value: ``$"Hello, {name}!"``).

0 comments on commit 2c01502

Please sign in to comment.