asp.net tag helper checkbox

C#
<input type="checkbox" data-val="true" data-val-required="The IsChecked field is required." id="IsChecked" name="IsChecked" value="true"><input name="IsChecked" type="hidden" value="false">
Source

Also in C#: