How to get distinct values from list of array?

Hi All,

I want to get unique list of values from an array.

But I’m getting output as
image

Can someone please correct me.

Thanks in Advance:-)

Hi,

If you need to check content of array or list, can you try either of the following?

  1. use String.Join with MessageBox, WriteLine etc like

    String.Join(",",arrVar)
    
  2. Set breakpoint , and check content of the variable in Locals panel when workflow stops there.

Regards,

Hey

can you try the following

String.Join(“,”,yourIntArr.Distinct().ToArray)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.