VB中的VB.Net相当于^运算符

VB.Net equivalent of ^ operator in C#

在vb.net for ^中,等价运算符是什么(这是用于c)


异或算子是等价的。

Performs a logical exclusion on two Boolean expressions, or a bitwise exclusion on two numeric expressions.

在C是一# ^算子:

Binary ^ operators are predefined for the integral types and bool. For integral types, ^ computes the bitwise exclusive-OR of its operands. For bool operands, ^ computes the logical exclusive-or of its operands; that is, the result is true if and only if exactly one of its operands is true.

如果你的电力运营商均^:VB.NET

Raises a number to the power of another number.

它是不是有一个C -你需要# Math.Pow等效用。

有几个特点,比较两个列表的语法和语言-我喜欢这一个和这一个。


异或算子

Performs a logical exclusion on two Boolean expressions, or a bitwise
exclusion on two numeric expressions.

1
result = expression1 Xor expression2


异或校验VB。NET是等价的#算子在C


你^按位异或的意思对吗?在这种案例是将异或


1
public static double Math.Pow(double x, double y)

Math.Pow这样的把戏!