Hi..
I have this code.
@{
var groupID = "GROUP1";
var groupIDz = "<!--@Snippet(groupID)-->".ToString();
}
<span>@groupID</span>
<span>@groupIDz</span>
@{
if (groupID == groupIDz){
<text>Ens</text>
}
else{
<text>Forskellig</text>
}
}
@groupID and @groupIDz both contains "GROUP1" as seen in attached thumbnail.
But the if sentence says that they are not same. Is my syntax off or what?