I am trying to figure out whether it is possible to achieve it.
I was previously writing something like this:
or
<div id="[email protected]"/>
and it worked.
However, the need arose to change the way of setting ids, as it does not meet the requirements anymore.
I would like to concat two values, something like this:
<div id="@i.category + @i.category2" />
however the above does not work. I also tried:
<div id ="@(i.category + i.category2)" />
but it did not work neither.
Can anyone suggest a solution?
<div id='@$"{i.category}{i.category2}"' />