@using (Html.BeginForm("Index", "Home", FormMethod.Post)) {}
@using (Html.BeginForm("Login", "Account", new { returnUrl = ViewBag.ReturnUrl })) { @Html.AntiForgeryToken()In this example, a form is created with the action method "Login" and controller name "Account", with the return URL passed as a route value. The form also includes an anti-forgery token to prevent cross-site request forgery attacks. The form contains input fields for a username and password, which must be filled in before submitting the form. Package Library: This method is part of the System.Web.Mvc.Html namespace, which is included in the System.Web.Mvc package.}