-
Notifications
You must be signed in to change notification settings - Fork 5
C# Plus.NET Syntax Operator
Plus.NET Keyword:
- Array Implicit ..
- Exclusive-OR - Alternative ^|
- Exclusive-OR Assignation - Alternative ^|=
- Exponent ^^
- Exponent Assignation ^^=
- Not Equals - Alternative <>
Declare an implicit array that can be used in a constructor
var result = Eval.Execute("var list = new List<int>() { 1, 2..100 };")
The exclusive-OR assignment operator. Same as '^' operator.
var result = Eval.Execute("true ^| false")
All Eval Projects has a UseCaretForExponent property to use '^' and '^=' operator for exponent. Exclusive-OR alternative can always be used '^|', '^|='
The exclusive-OR assignment operator. Same as '^=' operator
var result = Eval.Execute("
bool b = true;
b ^|= false;
return b;")
All Eval Projects has a UseCaretForExponent property to use '^' and '^=' operator for exponent. Exclusive-OR alternative can always be used '^|', '^|='
Raises a number to the power of another number.
The result is always a double.
var result = Eval.Execute("2^^3") // return 8
All Eval Projects has a UseCaretForExponent property to use '^' and '^=' operator for exponent. Exclusive-OR alternative can always be used '^|', '^|='
Raises the value of a variable or property to the power of an expression and assigns the result back to the variable or property.
The result is always a double.
var result = Eval.Execute("
var x = 2;
x ^^=3;
return x;") // return 8
All Eval Projects has a UseCaretForExponent property to use '^' and '^=' operator for exponent. Exclusive-OR alternative can always be used '^|', '^|='
**The inequality operator (similar as !=) returns false if its operands are equal, true otherwise.
var result = Eval.Execute("2 + 2 <> 4");
Entity Framework
Bulk Operations
Expression Evaluator
Utilities
Need more info? [email protected]
Contact our outstanding customer support for any request. We usually answer within the next business day, hour, or minutes!