ExclusiveOr() 개인적인 메소드

private ExclusiveOr ( Int32 x, Int32 y ) : Int32
x System.Int32
y System.Int32
리턴 System.Int32
예제 #1
0
 public static int ExclusiveOr(bool x, int y)
 {
     return(Int32Ops.ExclusiveOr(x ? 1 : 0, y));
 }
예제 #2
0
 public static int ExclusiveOr(int x, bool y)
 {
     return(Int32Ops.ExclusiveOr(y ? 1 : 0, x));
 }