mirror of
https://github.com/dotnet/intro-to-dotnet-web-dev.git
synced 2025-12-06 05:32:03 +01:00
Fixed layout issue
This commit is contained in:
parent
8639dcdc42
commit
16e4f3836a
|
|
@ -110,9 +110,9 @@ In C#, you can build applications that employ decision-making logic so that your
|
||||||
|
|
||||||
If there are multiple condition, you can utilize the `else if` and `else` statements. Basically, if the `if` statement fails, these other statements allow you to test against other conditions.
|
If there are multiple condition, you can utilize the `else if` and `else` statements. Basically, if the `if` statement fails, these other statements allow you to test against other conditions.
|
||||||
You can imagine this in the context of a rock⛰️-paper📃-scissors✂️ game. Imagine you chose rock⛰️.
|
You can imagine this in the context of a rock⛰️-paper📃-scissors✂️ game. Imagine you chose rock⛰️.
|
||||||
`if` your opponent chooses scissors✂️, then you will win
|
* `if` your opponent chooses scissors✂️, then you will win
|
||||||
`else if` your opponent also chooses rock⛰️, then you will tie
|
* `else if` your opponent also chooses rock⛰️, then you will tie
|
||||||
`else` your opponent chooses paper📃, then you will lose
|
* `else` your opponent chooses paper📃, then you will lose
|
||||||
|
|
||||||
Each possible decision your opponent could make leads to a different outcome.
|
Each possible decision your opponent could make leads to a different outcome.
|
||||||
|
|
||||||
|
|
@ -203,4 +203,4 @@ Want more practice with C#? The .NET team has you covered. Here's a few learning
|
||||||
* Self Guided Tutorials on [Microsoft Learn](https://docs.microsoft.com/users/dotnet/collections/yz26f8y64n7k07)
|
* Self Guided Tutorials on [Microsoft Learn](https://docs.microsoft.com/users/dotnet/collections/yz26f8y64n7k07)
|
||||||
* [Learn to Code Page](https://dotnet.microsoft.com/learntocode)
|
* [Learn to Code Page](https://dotnet.microsoft.com/learntocode)
|
||||||
|
|
||||||
Connect with us! Check out the [.NET Community Page](https://dotnet.microsoft.com/platform/community) to find links to our blogs, YouTube, Twitter, and more.
|
Connect with us! Check out the [.NET Community Page](https://dotnet.microsoft.com/platform/community) to find links to our blogs, YouTube, Twitter, and more.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue