# Differences 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 sealed class Differences
```

A collection of differences between two documents.

## Constructors

- [Differences](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.differences/ctor.md): Compute the differences between two documents.

## Properties

- [A](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.differences/a.md): Gets the first document used for this difference comparison. Note that documents are mutable whereas this list of differences is not. So the differences may no longer be valid.
- [All](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.differences/all.md): Enumerate over all differences.
- [B](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.differences/b.md): Gets the second document used for this difference comparison. Note that documents are mutable whereas this list of differences is not. So the differences may no longer be valid.
- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.differences/count.md): Gets the number of differences

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.differences/item.md): Difference indexer.

## Methods

- [Some](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.differences/some.md): Enumerate over those differences of a specific type.
