public List <TextPC> StartDeCode() { SourceClass sc = new SourceClass(); List <PC> PcList = sc.GetPC().ToList(); for (int i = 0; i < PcList.Count; i++) { TextPC textPCContainer = new TextPC(PcList[i]); textPc.Add(textPCContainer); } return(textPc); }