Html.BeginFormで、formタグの開始タグを出力する。
Index.aspxで、
こうすると、
![真っ白](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20220714/20220714063634.png)
真っ白。
しかし、
![ページのソースを表示すると](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20220714/20220714063723.png)
ページのソースを表示すると、
![このページ用のformの開始タグが出力されてる](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20220714/20220714063809.png)
このページ用のformの開始タグが出力されてる。
Html.BeginFormは、HtmlHelperの元々のメソッドではなく、拡張メソッドで、
FormExtensions.BeginForm メソッド (System.Web.Mvc.Html) | Microsoft Docs
FormExtensions.BeginFormである。
Sample/aspnetmvc/FormExtensions/BeginForm/src/FormExtensions_ at master · bg1bgst333/Sample · GitHub