通过分支和循环语句了解条件逻辑Learn conditional logic with branch and loop statements

本教程介绍了如何编写代码,从而检查变量,并根据这些变量更改执行路径。This tutorial teaches you how to write code that examines variables and changes execution path based on those variables. 读者可以使用浏览器通过交互方式编写 C#,并查看代码编译和运行结果。You'll use your browser to write C# interactively and see the results of compiling and running your code. 本教程包含一系列课程,介绍了 C# 中的分支和循环构造。This tutorial contains a series of lessons that explore branching and looping constructs in C#. 这些课程介绍了 C# 语言的基础知识。These lessons teach you the fundamentals of the C# language.