Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System
  3. Memory<T>
  4. TrimEnd(Memory<Char>)
  • Memory<T>
    • Memory(T[])
    • Memory(T[], Int32, Int32)
    • Empty
    • IsEmpty
    • Length
    • Span
    • this[Range]
    • CopyTo(Memory<T>)
    • Equals(Object)
    • Equals(Memory<T>)
    • GetHashCode()
    • Pin()
    • Slice(Index)
    • Slice(Int32)
    • Slice(Range)
    • Slice(Int32, Int32)
    • ToArray()
    • ToString()
    • TryCopyTo(Memory<T>)
    • implicit operator Memory<T>(ArraySegment<T>)
    • implicit operator Memory<T>(T[])
    • implicit operator ReadOnlyMemory<T>(Memory<T>)
    • GetArray(Memory<Byte>)
    • GetArray(Memory<Byte>)
    • Trim(Memory<Char>)
    • Trim<T>(Memory<T>, ReadOnlySpan<T>)
    • Trim<T>(Memory<T>, T)
    • TrimEnd(Memory<Char>)
    • TrimEnd<T>(Memory<T>, ReadOnlySpan<T>)
    • TrimEnd<T>(Memory<T>, T)
    • TrimStart(Memory<Char>)
    • TrimStart<T>(Memory<T>, ReadOnlySpan<T>)
    • TrimStart<T>(Memory<T>, T)
net9.0
namespace System
{
    public static class MemoryExtensions
    {
        public static Memory<char> TrimEnd(this Memory<char> memory);
    }
}
.NET
5.06.07.08.09.0
.NET Core
3.03.1
Information specific to net9.0
Assembly

System.Memory , Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

10/13/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙