Skip to content

Instantly share code, notes, and snippets.

@YhorbyMatias
Created January 27, 2018 00:57
Show Gist options
  • Save YhorbyMatias/5cc8c3751145acc38c5f10b26d9b0eda to your computer and use it in GitHub Desktop.
Save YhorbyMatias/5cc8c3751145acc38c5f10b26d9b0eda to your computer and use it in GitHub Desktop.
codigo de la vista
@{
ViewData["Title"] = "Bienvenido";
}
<h2>Hola</h2>
<ul>
@for (int i = 0; i < (int)ViewData["NumTimes"]; i++)
{
<li>@ViewData["Message"]</li>
}
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment