vb.net - Code - C# to VB -


i don't know how convert code vb

if ((string)session["type"] != "administrator") {     response.redirect("login.aspx"); } 

telerik code converter

if directcast(session("type"), string) <> "administrator"     response.redirect("login.aspx") end if 

Comments