C
Join ServerC#
help
❔ Hi i need help with error SeverityCodeDescriptionProjectFileLineSuppression StateErrorCS1501
PCProfessor Chen2/19/2023
Here the code

PCProfessor Chen2/19/2023

PCProfessor Chen2/19/2023
here the function
HHenkypenky2/19/2023
so
HHenkypenky2/19/2023
your method
HHenkypenky2/19/2023
takes 0 arguments
HHenkypenky2/19/2023
yet you call it with one argument
PCProfessor Chen2/19/2023
ik but what should i modify
PCProfessor Chen2/19/2023
here
HHenkypenky2/19/2023
if you want to pass a string, just change the method signature from:
to
public static void Method()
to
public static void Method(string arg)
HHenkypenky2/19/2023
also
PCProfessor Chen2/19/2023
string proxy
HHenkypenky2/19/2023
please don't use webclient
PCProfessor Chen2/19/2023
i already tried
PCProfessor Chen2/19/2023
why
HHenkypenky2/19/2023
it's old
PCProfessor Chen2/19/2023
what should i use
HHenkypenky2/19/2023
HttpClient
PCProfessor Chen2/19/2023
ok thx
HHenkypenky2/19/2023
WebClient is deprecated
HHenkypenky2/19/2023
what did you try?
PCProfessor Chen2/19/2023
i fell really like a dumbass
PCProfessor Chen2/19/2023
i had the same function written down and i forgot to add proxy
PCProfessor Chen2/19/2023
that was the error and i didnt see it
MMODiX2/19/2023
Sorry @Professor Chen your message contained blocked content and has been removed!
PCProfessor Chen2/19/2023
well
PCProfessor Chen2/19/2023
thx for ur help
HHenkypenky2/19/2023
no problem
AAccord2/20/2023
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.