namespace Bofa.Testing; using System; using System.Collections; using Bofa; using Bofa.Serialization; [BofaSerialize] class Serialization { public int anInteger = 1; public String aString = "Value"; public List listOfStrings = new .() ~ DeleteContainerAndItems!(_); [Test] public static void Test() { Serialization s = scope .(); s.listOfStrings.Add(new .("dfdsfdsfdsf")); Bofa b = scope .(); b.Name = "s"; s.Serialize(b); } }