Skip to main content
Improved formatting
Source Link
Stephan Bauer
  • 9.3k
  • 5
  • 39
  • 61

I have 2 hash sets like this. Hash_1 = {1, 2, 3, 4, 5} Hash_2 = {4, 5, 6, 7, 8}

Hash_1 = {1, 2, 3, 4, 5} Hash_2 = {4, 5, 6, 7, 8} 

I am using C#

I want to compare those two sets and want to get the output like Hash_3 = {1, 2, 3, 6, 7, 8}

Hash_3 = {1, 2, 3, 6, 7, 8} 

I have 2 hash sets like this. Hash_1 = {1, 2, 3, 4, 5} Hash_2 = {4, 5, 6, 7, 8}

I am using C#

I want to compare those two sets and want to get the output like Hash_3 = {1, 2, 3, 6, 7, 8}

I have 2 hash sets like this.

Hash_1 = {1, 2, 3, 4, 5} Hash_2 = {4, 5, 6, 7, 8} 

I am using C#

I want to compare those two sets and want to get the output like

Hash_3 = {1, 2, 3, 6, 7, 8} 
Source Link
maxrena
  • 591
  • 1
  • 5
  • 14

I want to compare 2 hash sets and take out the differences

I have 2 hash sets like this. Hash_1 = {1, 2, 3, 4, 5} Hash_2 = {4, 5, 6, 7, 8}

I am using C#

I want to compare those two sets and want to get the output like Hash_3 = {1, 2, 3, 6, 7, 8}