# System.Collections.Immutable ``` diff namespace System.Collections.Immutable { public static class ImmutableArray { + public static ImmutableArray ToImmutableArray(this ImmutableArray.Builder builder); } public struct ImmutableArray : ICollection, ICollection, IEnumerable, IEnumerable, IEquatable>, IImmutableList, IList, IList, IReadOnlyCollection, IReadOnlyList, IStructuralComparable, IStructuralEquatable { + public ReadOnlyMemory AsMemory(); + public ReadOnlySpan AsSpan(); } public static class ImmutableDictionary { + public static ImmutableDictionary ToImmutableDictionary(this ImmutableDictionary.Builder builder); } public static class ImmutableHashSet { + public static ImmutableHashSet ToImmutableHashSet(this ImmutableHashSet.Builder builder); } public static class ImmutableList { + public static ImmutableList ToImmutableList(this ImmutableList.Builder builder); } public static class ImmutableSortedDictionary { + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this ImmutableSortedDictionary.Builder builder); } public static class ImmutableSortedSet { + public static ImmutableSortedSet ToImmutableSortedSet(this ImmutableSortedSet.Builder builder); } } ```