---
title: "Merge(TState) Method (TState[])"
canonical: https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Model_State_Merge%60%601_1_f62cf9a7.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Atoms .NET"
    versions: ["6.0.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# Merge(TState) Method (TState[])

**Applies to:** Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · **Archived documentation**
 
Merges an array of states.
 
**Namespace:** [Aurigma.DesignAtoms.Model](https://customerscanvas.com/docs/cc6/N_Aurigma_DesignAtoms_Model.htm.md) 
 **Assembly:** Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)
 
## Syntax
  
```csharp
public static TState Merge<TState>(params TState[] states
)
where TState : new(), State
```
 
### Parameters
 
 - states
     - Type:  TState []
The array of states to be merged.
 
## Type Parameters
  
 - TState
     - The [State](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_State.htm.md) to merge.
 
### Return Value
A new [State](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_State.htm.md) containing the result of merging.
 
## See Also
  
### Reference
 
- [State Class](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_State.htm.md)
- [Merge Overload](https://customerscanvas.com/docs/cc6/O_T_Aurigma_DesignAtoms_Model_State_Merge.htm.md)
- [Aurigma.DesignAtoms.Model Namespace](https://customerscanvas.com/docs/cc6/N_Aurigma_DesignAtoms_Model.htm.md)
