How to quickly insert 10000 strings into a list at once

  • Автор темы Автор темы paydot
  • Дата начала Дата начала

paydot

Client
Регистрация
21.11.2012
Сообщения
56
Реакции
1
Баллы
8
How to quickly insert 10,000 strings into a list at once
example
insert 10000 times "blackhatworld.com" to listA

THX
best wishes
 
How to quickly insert 10,000 strings into a list at once
example
insert 10000 times "blackhatworld.com" to listA

THX
best wishes

I can only tell some C#
Very useful snippet when you want to use action keyboard emulation and want to press, example DOWN button random times.

that same snippet you can use to generate any amount of repeated strings to the variable, then insert in the list.
 
  • Спасибо
Реакции: paydot
I can only tell some C#
Very useful snippet when you want to use action keyboard emulation and want to press, example DOWN button random times.

that same snippet you can use to generate any amount of repeated strings to the variable, then insert in the list.
THX
i use this code
it work
int count = Convert.ToInt32(project.Variables["company_count"].Value);
// What to repeat
string word = "{DOWN}\n"; // You can change word "{Down}" to whatever you need
// Building string
string repeatWords = String.Concat(Enumerable.Repeat(word, count));
return repeatWords;
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)