Hello , i Get This Error Message When i Try to Compile a Program in C# Sharp , please Tell me what is this cs1501: no overload for method 'isnullorempty' takes '0' arguments Mean , And How can i resolve these Error , please help me Thanks in advance
Hello , i Get This Error Message When i Try to Compile a Program in C# Sharp , please Tell me what is this cs1501: no overload for method 'isnullorempty' takes '0' arguments Mean , And How can i resolve these Error , please help me Thanks in advance
The CS1501 error can occur if you call a method on a class in a referenced assembly, and if this method defaults on one or more of its parameters. C # does not allow you to create methods with a default value to a setting unlike any other language that targets the runtime. If a parameter (in a method of a referenced assembly) has a default value, you must call the method and pass all the parameters explicitly.
The CS1501 error can occur when you allocate memory for a delegate, you must also specify the name of the method represented by the delegate,
you may needed to put in what string you are looking for in IsNullOrEmpty. So you would have, say, Equals(String.IsNullOrEmpty(textBox1.tex()) Or whatever string parameter you require there.
CS1501 also occurs if you try to instantiate a derived class that inherits a base class which has no default constructor, a constructor is not defined by default which takes one or more arguments. To correct the error, provide a default constructor for the base class or use the keyword base to call the constructor of the appropriate base class
Bookmarks