Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. net8.0 vs net9.0
  2. Catalog
  3. System.IO
  4. File
  5. AppendAllText(String, ReadOnlySpan<Char>)
  • File +14
    • AppendAllBytes(String, Byte[])
    • AppendAllBytes(String, ReadOnlySpan<Byte>)
    • AppendAllBytesAsync(String, Byte[], CancellationToken)
    • AppendAllBytesAsync(String, ReadOnlyMemory<Byte>, CancellationToken)
    • AppendAllText(String, ReadOnlySpan<Char>)
    • AppendAllText(String, ReadOnlySpan<Char>, Encoding)
    • AppendAllTextAsync(String, ReadOnlyMemory<Char>, CancellationToken)
    • AppendAllTextAsync(String, ReadOnlyMemory<Char>, Encoding, CancellationToken)
    • WriteAllBytes(String, ReadOnlySpan<Byte>)
    • WriteAllBytesAsync(String, ReadOnlyMemory<Byte>, CancellationToken)
    • WriteAllText(String, ReadOnlySpan<Char>)
    • WriteAllText(String, ReadOnlySpan<Char>, Encoding)
    • WriteAllTextAsync(String, ReadOnlyMemory<Char>, CancellationToken)
    • WriteAllTextAsync(String, ReadOnlyMemory<Char>, Encoding, CancellationToken)
net9.0
namespace System.IO
{
    public static class File
    {
        public static void AppendAllText(string! path, ReadOnlySpan<char> contents);
    }
}
nuget.org
0.0 %
Reference this API
Design Reviews
  • dotnet/runtime#99823 one year ago (Approved)
  • dotnet/runtime#35054 5 years ago (Rejected)
.NET
9.0
Information specific to net9.0
Assembly

System.Runtime , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙