Namespace:
T.Toolkit
Assembly: T.Toolkit (in T.Toolkit.dll)
Assembly: T.Toolkit (in T.Toolkit.dll)
Parameters
- condition
-
Type: bool
The expression you want to evaluate
- thenStatement
-
Type: object
Returned if Expression evaluates to True
- elseStatement
-
Type: object
Returned if Expression evaluates to False
Return Value
Type: objectReturns one of two objects, depending on the evaluation of an expression.