operate() public method

public operate ( int A, int B, string operation ) : int[]
A int
B int
operation string
return int[]
示例#1
0
 static void Main(string[] args)
 {
     Sets x = new Sets();
     int[] a = { 6, 5, 7, 4 };
     int[] b = { 7, 6, 4, 10 };
     Console.WriteLine(x.operate(a, b, "SYMMETRIC DIFFERENCE"));
     Console.ReadLine();
 }
示例#2
0
        static void Main(string[] args)
        {
            Sets x = new Sets();

            int[] a = { 6, 5, 7, 4 };
            int[] b = { 7, 6, 4, 10 };
            Console.WriteLine(x.operate(a, b, "SYMMETRIC DIFFERENCE"));
            Console.ReadLine();
        }