Hi,
i want to use
public sealed class ArrayBufferWriterhttps://docs.microsoft.com/en-us/dotnet/api/system.buffers.arraybufferwriter-1?view=net-5.0
Compiler in VisualStudio gives me error CS0122
CS0122 Access to "ArrayBufferWriter " is not possible due to the degree of protection.
var outputBuffer = new ArrayBufferWriter< byte >();
Does anybody knows how to solve this error?
Thanks in advance

Sachin SinghRank #66 · 26.2K reputationPosted Jan 26, 2021, 1:35 AM EST
hanna Meyetr10 reputationPosted Jan 26, 2021, 4:31 AM EST
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Jan 26, 2021, 8:47 AM EST