I need a logic for generating combination of numbers in this format in c#
int [3] a={1,2,3};

For these numbers i need output as strings in this format

1=>2

1=>3

2=>3

1,2=>3

1,3=>2

2,3=>1

I need a logic for generating combination of numbers in this format in c#
===

int [3] a={1,2,3};

For these numbers i need output as strings in this format

1=>2

1=>3

2=>3

1,2=>3

1,3=>2

2,3=>1
