这个浅拷贝示例会输出什么?

来自 记录类型
C# 14 / .NET 10 进阶 2分钟

这个浅拷贝示例会输出什么?

csharp
using System;
using System.Collections.Generic;

Bundle original = new(["draft"]);
Bundle copy = original with { };
copy.Labels.Add("reviewed");

Console.WriteLine(original.Labels.Count);
Console.WriteLine(ReferenceEquals(original.Labels, copy.Labels));

public sealed record Bundle(List<string> Labels);
在试验场中打开
报告错误