two variables in C# with comma

aleksa77

Client
Регистрация
30.09.2011
Сообщения
914
Благодарностей
90
Баллы
28
I have snippet and this works:

project.Variables["duration"].Value = "0,5";

It is range 0,5

i want now to change this numbers into project variables, but have problem with it

I try several options like:

project.Variables["duration"].Value = project.Variables["pocetak"].Value , project.Variables["kraj"].Value;

but not work, what need to add instead sign " , " instead comma ?

thanks
 

aleksa77

Client
Регистрация
30.09.2011
Сообщения
914
Благодарностей
90
Баллы
28
i found solution

project.Variables["pocetak"].Value + "," + project.Variables["kraj"].Value;
 

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