# Difference class

Namespace: [GrasshopperIO.DataBase](https://developer.rhino3d.com/api/gh2/namespace/grasshopperio.database.md) · Assembly: [GrasshopperIO](https://developer.rhino3d.com/api/gh2/assembly/grasshopperio.md)

```cs
public sealed class Difference : IComparable<Difference>
```

A single difference between two nodes.

## Properties

- [ChunkA](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/chunka.md): Chunk in the A archive, when relevant.
- [ChunkB](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/chunkb.md): Chunk in the B archive, when relevant.
- [EntryA](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/entrya.md): Entry in the A archive, when relevant.
- [EntryB](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/entryb.md): Entry in the B archive, when relevant.
- [Path](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/path.md): Gets the path to the chunk or entry in the A archive.
- [Type](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/type.md): Gets the type of difference.

## Methods

- [CreateDifferentItem](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/createdifferentitem.md): (static) Create a difference for two entries.
- [CreateMissingItemInA](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/createmissingitemina.md): (static) Create a difference for a missing entry in A.
- [CreateMissingItemInB](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/createmissingiteminb.md): (static) Create a difference for a missing entry in B.
- [CreateMissingNodeInA](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/createmissingnodeina.md): (static) Create a difference for a missing node in A.
- [CreateMissingNodeInB](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/createmissingnodeinb.md): (static) Create a difference for a missing chunk in B.
- [IComparable<Difference>.CompareTo](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/system-icomparable-grasshopperio-database-difference-compareto.md)
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopperio.database.difference/tostring.md): (2 overloads)
