Need equivalent Code in C#

Aug 12 2009 7:27 AM
Hi every one

i need the equivalent of vb in c#. the below code in vb i need in c# can any one know to write in c#
If TypeOf div Is HtmlGenericControl Then
  CType(div, HtmlGenericControl).Style.Add("display", "none")
End If

Answers (5)