Listing 1 below contains basic conditionalcode that could achieve this goal.
下面的清单1包含实现这一目标的基本条件代码。
2
When working with conditionalcode, you often know which branch is most likely and which is not.
在开发人员使用有条件代码时,常常知道最可能执行哪个分支,而哪个分支很少执行。
3
You will probably find yourself specifically targeting these two screen sizes, even to the extent of having conditionalcode paths and different XAML files for layout that is size-dependent.