Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 13-07-2009
Member
 
Join Date: Feb 2009
Posts: 17
error CS1501: No overload for method

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
Reply With Quote
  #2  
Old 13-07-2009
Member
 
Join Date: Nov 2005
Posts: 1,203
Re: error CS1501: No overload for method

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.
Reply With Quote
  #3  
Old 13-07-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: error CS1501: No overload for method

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.
Reply With Quote
  #4  
Old 13-07-2009
Member
 
Join Date: May 2008
Posts: 2,008
Re: error CS1501: No overload for method

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
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "error CS1501: No overload for method"
Thread Thread Starter Forum Replies Last Post
Getting error: HTTP Error 405 Method not allowed Mongoli Technology & Internet 4 20-04-2012 07:24 AM
how to overload a function in c++ Calandar Software Development 4 08-01-2011 10:32 AM
During bootup I get this error message ? Error invoking method: main (java.lang.string)? Karsten M Windows Software 5 15-12-2010 07:18 PM
Overload SET accessor in C# $tatic Software Development 3 31-03-2009 10:02 PM
Suffering from 100% cpu overload Renderman21 Windows Software 4 13-08-2008 02:34 PM


All times are GMT +5.5. The time now is 12:39 AM.