var catalog = GetBcCatalog(); int[] categoryIds = { catalog.FindNode("Building Blocks").Id }; foreach (int categoryId in categoryIds) { var page = GetCatalogPage(categoryId); int i = 0; foreach (var offer in page.Offers) { if (i >= 69) break; Send(Out.BuildersClubPlaceRoomItem, categoryId, offer.Id, "", i % 20 + 1, (i < 40) ? 1 : 2, 0); Log(offer.GetType().GenericParameterAttributes); Delay(180); i++; } }