Answer the question
In order to leave comments, you need to log in
How to make an online store of spare parts for vacuum cleaners?
There is an online store of spare parts for vacuum cleaners with a quantity of goods ~ 1-1.5k. Suggest a good price / quality solution. Interested in the engine with installation on your hosting, without clouds, etc.
Answer the question
In order to leave comments, you need to log in
Any that can adequately work with your data source. I would choose between CS-Cart and Bitrix.
I believe that the engine that you understand at the level of correcting or reading the code in the core is best suited for tasks.
If you can't, teach. If you can’t teach, then it’s better to leave the sphere altogether.
For example in design :)
The choice of engine is purely your personal decision, depending on your previous experience, accumulated knowledge and preferences. By and large, all engines solve the same problems, offering different ways and interfaces for solving these problems. Which way you choose is up to you.
Either use Array.Resize :
int oldLength = words.Length;
Array.Resize(ref words, oldLength + newWords.Length);
for (int i = 0; i < newWords.Length; i++)
{
words[i + oldLength] = newWords[i];
}
foreach (var newWord in newWords)
{
words.Add(newWord);
}
// Или так
words.AddRange(newWords);
I'm trying to use sheets, please help. I skip the procedure:
wordList = new List<object>(words); // Создаём лист
// Проверяем какие категории отмечены
if (toggleSports.isOn == true) {
for (int w = 0; w < LangSystem.lng.sports.Length; w++) words[w].word = LangSystem.lng.sports[w]; // ПРОХОЖУ ПО РАЗМЕРУ МАССИВА и добавляю туда фразы из lng.sports
wordListSports = new List<object>(words); // Создаю новый лист
wordList.AddRange(wordListSports); // Соединяю его с основным
}
if (toggleGeo.isOn == true)
{
for (int w = 0; w < LangSystem.lng.geo.Length; w++) words[w].word = LangSystem.lng.geo[w];
wordListGeo = new List<object>(words);
wordList.AddRange(wordListGeo); // Добавляю фразы в основной лист
}
wordListSports = new List<object>(words); // Создаю новый лист
wordList.AddRange(wordListSports); // Соединяю его с основным
Why do you need an array? Use the list, it's more convenient. If you then need to interact with code that needs an array, there is always ToArray.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question