using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LearnBridgeNet { internal static class DebugSupport { private static readonly List Objects = new List(); [Conditional("DEBUG")] public static void Add(object obj) => Objects.Add(obj); public static object[] GetObjects() => Objects.ToArray(); } }