# GH_DataComparison enum

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public enum GH_DataComparison
```

Enumerates all possible Data Matching algorithms for Components.

## Values

| Name | Value | Description |
| --- | --- | --- |
| ShortestList | 0 | Matches data in all lists until the shortest list runs dry. This flag will omit data entries if lists have a different length |
| LongestList | 1 | Matches data in all lists until the longest list runs dry. This is the default behaviour |
| CrossReference | 2 | Matches data in all lists in all possible combinations. Careful, since this might results in stupendous amounts of data |
