What counts are printed after the source list changes?

from Collections
C# 14 / .NET 10 intermediate 2 min

What counts are printed after the source list changes?

csharp
using System;
using System.Collections.Generic;

var source = new List<string> { "Book" };
IReadOnlyList<string> view = source.AsReadOnly();
string[] copy = source.ToArray();

source.Add("Pen");
Console.WriteLine($"{view.Count}, {copy.Length}");
Open in playground
Report an error