diff --git a/snippets/csharp/api/system/span/slice2/Program.cs b/snippets/csharp/api/system/span/slice2/Program.cs index 31b63cfbec0..9b7518cc337 100644 --- a/snippets/csharp/api/system/span/slice2/Program.cs +++ b/snippets/csharp/api/system/span/slice2/Program.cs @@ -12,7 +12,7 @@ static void Main() private static int GetContentLength(ReadOnlySpan span) { var slice = span.Slice(16); - return Int32.Parse(slice); + return Int32.Parse(slice); } } // Output: