SplitScript reference / Migration / Unique-value collections

Unique-value collections

Migration from C#

Source pattern

  • C#: HashSet

  • C#: HashSet

Canonical SplitScript

  • HashSet becomes Set.

  • HashSet becomes Set.

Use the canonical language and API symbols linked below.

Semantic difference

Use Set<T> for growable unique values. Replace HashSet<T> with Set<T>, then review source operations whose names or return values differ.

Supported hosts

This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.