79343362

Date: 2025-01-09 16:28:40
Score: 0.5
Natty:
Report link

I found a simpler but cruder way of doing this:

public ConcurrentBag<string> Errors { get; set; }

public string[] ErrorsForSerialization
{
    get { return Errors.ToArray(); }
    set {  Errors = new ConcurrentBag<string>(value); }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: fortyCakes