Results 1 to 3 of 3

Thread: converting vb.net to C#

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    converting vb.net to C#

    Dim wr As HttpWebRequest = CType(WebRequest.Create(_sourceURL), HttpWebRequest)


    how do i translate this into C#?
    \m/\m/

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Do this work?

    HttpWebRequest wr= (HttpWebRequest) WebRequest.Create(_sourceURL)

  3. #3

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    nvm i could do that but was making a stupid error and forgot to post saying i discovered the way

    tks anyways
    \m/\m/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width