请问这段代码怎么换成C#啊?
Function FX(msg)
dim javaObject''''''''''''''''''''''''''''''''''''''''''''''''''''''
urlstr="http://111.111.111.111:2300/websend/?serverid=HB00BZ&fromuser=HBHL&password=HBHL&fromserver=000&phone="& phone &"&fromphone=&message=" &server.URLEncode (msg)&"&linkid="&linkid
set javaObject=GetObject("java:GetHTTPFetch")
strValue=trim(javaObject.GetURL(urlstr))
set javaObject=nothing
end function