using System.Collections.Generic; namespace ttrss_co_client.ttrss.datastructures { public class Label { public Label(string[] fromServer) { int.TryParse(fromServer[0], out id); Title = fromServer[1]; unknown = fromServer[2]; Color = System.Drawing.ColorTranslator.FromHtml(fromServer[3]); } public int id; public string Title { get; set; } public string unknown { get; set; } public System.Drawing.Color Color {get; set;} } }