C
C#

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 your method takes 0 arguments yet you call it with one argument
PCProfessor Chen2/19/2023
ik but what should i modify here
HHenkypenky2/19/2023
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
PCProfessor Chen2/19/2023
string proxy
HHenkypenky2/19/2023
please don't use webclient
PCProfessor Chen2/19/2023
i already tried 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 what did you try?
PCProfessor Chen2/19/2023
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
MMODiX2/19/2023
Sorry @Professor Chen your message contained blocked content and has been removed!
PCProfessor Chen2/19/2023
well 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.

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
Make a new type that essentially acts like anotherIn my project, I've found that Im making a lot of structs/classes that are essentially containers f❔ Error with NaudioI only can play the audio once and then no sound is played✅ this extractor writes the project name + the file name how do I make it just say the file nameThis extractor ~~which I got from stackoverflow because I dont know how to code in c# that much~~ wh✅ RestSharp not using given ProxyHey all! I know this is quite off topic from regular C# as this post is bound to a NuGet Package but❔ Access Resources FileHey, sorry to bother - quick question. I created a EmailResources.resx file inside a "Resources" fol❔ Do Transparent All White Pixcelprivate void button3_Click(object sender, EventArgs e) { // Bir resim seçme işle❔ Error Result ViewHi, I don't know why this error is occurring, does anyone know what I can do to fix it?❔ Cassandra: which programming language have the best support for accessing and write data?Hi my application need to scale the data source, we heard about Cassandra and really want to use it,❔ C# Need help with changing SQL connection stringI got a program which has database in it but I can't run it properly as I don't know how to change t✅ Operator ?? functionsI came across ?? operators whilst I try to understand solutions like https://leetcode.com/problems/n❔ Something weird with toolbox (duplicated options)please have a look at my screenshot❔ ✅ comprehension questions for a LeetCode puzzleI am analysing the following LC solution (the iterative one) https://leetcode.com/problems/n-ary-treNo applicable method 'Contains' exists in type 'String' (at index 31) when using KendoNet.DymaicLinqI have a a web app that I've built using Kendo's component library and I'm trying to introduce backe❔ string modifyhow can i transform string like this `1234 5678 9123 4567` to this `1234 **** **** 4567` in a lambda❔ How to differentiate in C#?How can I differentiate a function like: "f(x)=sqrt(ax^2+b+cx)+gx+p+...etc" and every time it loops ✅ Problem With MYSQL Connection Using Entity FrameworkHello all, I am having problems to connect MYSQL. I think it can be related with my connection strin❔ About .NET Forms in Resources.resx files, what is the cost of removing PublicKeyToken?Second time in a couple months where my project breaks PublicKeyToken thanks to VisualStudio updatesautomated event handleri'm trying to index my bot's client with an event name but it throws an error, what's a way i can ac❔ is it possible to add // at beginning of text line when caret is in current line?Hello all, in a RichTextBox I split text by line, but I need to add the symbol **//** at the beginni✅ Schedule event at future DateTime based on DateOnly input, doesn't work if called <2min before```public static void ScheduleMethod(DateOnly inputDate) { DateTime triggerTime = new Da