# Difference class

Namespace: [Grasshopper2.Doc](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.doc.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public abstract class Difference
```

Abstract base class for individual differences.

**Derived types:** [DataDifference](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.datadifference.md), [LayoutDifference](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.layoutdifference.md), [ModifierDifference](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.modifierdifference.md), [ObjectDifference](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.objectdifference.md), [WireDifference](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.wiredifference.md)

## Constructors

- [Difference](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.difference/ctor.md)

## Properties

- [Type](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.difference/type.md): Gets the type of difference.
