# Diff Method

## Overloads

| [Diff(AbstractStructure, AbstractStructure)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.Diff.htm#Qlik_Engine_AbstractStructure_Diff_Qlik_Engine_AbstractStructure_Qlik_Engine_AbstractStructure_) |  | Compute the difference between two [AbstractStructure](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.htm) instances. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.Diff.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.Diff.htm)

## Diff(AbstractStructure, AbstractStructure)

Compute the difference between two [AbstractStructure](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.htm) instances.

### Declaration

```

          public static IEnumerable<IStructureDiff> Diff(AbstractStructure left, AbstractStructure right)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AbstractStructure](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.htm) | left | The left structure. |
| [AbstractStructure](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.htm) | right | The right structure. |

### Returns

| Type | Description |
| --- | --- |
| System.Collections.Generic.IEnumerable&lt;[IStructureDiff](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IStructureDiff.htm)&gt; | The set of changes between the left and right structures. |