Salve voglio richiamare il metodo GetTagEntityText nel mio main,il metodo ritorna un oggetto di tipo TagEntity:
 static TagEntity GetTagEntityText(string id)
        {
            
             
            
            return new TagEntity()  //Ritorna un oggetto di tipo TagEntity che contiene tutte le info che vediamo sotto
            {
               
                StationID = string.Empty,
                TagID = id,
                Pattern = Pattern.Update1,
                Status = TagStatus.Unknow,
                TagType = ESLType.ESL420,
                ServiceCode = DateTime.Now.Millisecond,
                R = true,
                G = true,
                B = true,
                Times = 100,
                Before = false,
                DataList = new List<DataEntity>()
                
                {
                    
                     
                         Data = "BatteryLevel:" + Program.v.Voltaggio+"v",
                         DataExt = null,
                         Font = FontSize.u16px,
                         H = 50,
                         ID = 100,
                         InvertColor = false,
                         W = 1,
                         Color = FontColor.Red
                     },*/
                     
                     
Come si fa sintatticamente ad istanziare nel main una struttura dati del genere?