Switch Constructor
- Mise à jour2023-02-21
- Temps de lecture : 2 minute(s)
| Name | Description | |
|---|---|---|
| Switch() | Initializes a new instance of Switch. | |
| Switch(Expression) | Initializes a new instance of Switch and creates a switch statement with the specified testExpression. | |
| Switch(Switch) | Initializes a new instance of Switch by copying an existing instance. | |
| Switch(Expression, Cases, DefaultCase) | Initializes a new instance of Switch and creates a switch statement with the specified testExpression, list of cases to evaluate, and defaultCase. |