0
Good afternoon, I’m developing a project. NET Core Razor Pages and in it I will need to create and add items in a list... these items are strings and are extracted from an XML.
I’ll leave a part of my code below, which is where I want the items to be added to this list of objects.
var descricao = "";
int i = 1;
while (result.vfp.row[i].men == "_MSYSMENU")
{
descricao += result.vfp.row[i].des;
i++;
}
So this descricao
that would be my list, and every time I walked by, I added an item to my list.
And what is this list? How will it be used? What requirements? Give more details.
– Maniero
Next, I need to assemble this list with the XML data, (which from the answers I already have, I am mounting) and I will use to assemble a menu (
<nav>
). Now I will need to use the list to create each menu option, in html @Maniero– user149429