❔ Hi i need help with error SeverityCodeDescriptionProjectFileLineSuppression StateErrorCS1501

Here the code
18 Replies
Professor Chen
Professor ChenOP2y ago
Professor Chen
Professor ChenOP2y ago
here the function
Henkypenky
Henkypenky2y ago
so your method takes 0 arguments yet you call it with one argument
Professor Chen
Professor ChenOP2y ago
ik but what should i modify here
Henkypenky
Henkypenky2y ago
if you want to pass a string, just change the method signature from: public static void Method() to public static void Method(string arg) also
Professor Chen
Professor ChenOP2y ago
string proxy
Henkypenky
Henkypenky2y ago
please don't use webclient
Professor Chen
Professor ChenOP2y ago
i already tried why
Henkypenky
Henkypenky2y ago
it's old
Professor Chen
Professor ChenOP2y ago
what should i use
Henkypenky
Henkypenky2y ago
HttpClient
Professor Chen
Professor ChenOP2y ago
ok thx
Henkypenky
Henkypenky2y ago
WebClient is deprecated what did you try?
Professor Chen
Professor ChenOP2y ago
i fell really like a dumbass i had the same function written down and i forgot to add proxy that was the error and i didnt see it
MODiX
MODiX2y ago
Sorry @Professor Chen your message contained blocked content and has been removed!
Professor Chen
Professor ChenOP2y ago
well thx for ur help
Henkypenky
Henkypenky2y ago
no problem
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server