Writes an opening
The BeginForm method renders a form that will be handled by a controller action method.
You can use this method in a using statement. In that case, the method renders the closing tag at the end of the using block.
For more details click here