单项选择题

MVC中BeginForm添加样式的写法正确的是?()

A.Html.BeginForm("actionName","controllerName",FormMethod.POST,new{class="className"})
B.Html.BeginForm("actionName","controllerName",FormMethod.POST,new{@style="className"})
C.Html.BeginForm("actionName","controllerName",FormMethod.POST,new{@class="className"})
D.以上都对

微信扫码免费搜题