The type of one argument in a method does not match the type that was passed when the class was instantiated.
The best overloaded method match for 'System.Windows.Forms.MessageBox.Show(string)' has some invalid arguments
Solution : One possible solution is to check if the ‘ToString’ has braces
System.Text.StringBuilder CompleteAddress1 = new
System.Text.StringBuilder();
CompleteAddress1.Append( "105, Annanagar ");
CompleteAddress1.Append( "Chennai ");
CompleteAddress1.Append( "Tamil Nadu ");
‘ Error Line
MessageBox.Show(CompleteAddress1.ToString );
‘ Solution
MessageBox.Show(CompleteAddress1.ToString() );
Argument '1': cannot convert from 'method group' to 'string'
![Digg Digg](http://benny.ayong.googlepages.com/digg.png)
![Technorati Technorati](http://benny.ayong.googlepages.com/technorati.png)
![Del.icio.us Delicious](http://benny.ayong.googlepages.com/delicious.png)
![Stumble Upon StumbleUpon](http://benny.ayong.googlepages.com/stumbleupon.png)
![reddit Reddit](http://benny.ayong.googlepages.com/reddit.png)
![BlinkList BlinkList](http://benny.ayong.googlepages.com/blinklist.png)
![Furl Furl](http://benny.ayong.googlepages.com/furl.png)
![Mixx Mixx](http://benny.ayong.googlepages.com/mixx.png)
![facebook Facebook](http://benny.ayong.googlepages.com/facebook.png)
![Google Bookmark](http://benny.ayong.googlepages.com/googlebookmark.png)
![Yahoo Myweb Yahoo](http://benny.ayong.googlepages.com/yahoomyweb.png)
![ma.gnolia](http://benny.ayong.googlepages.com/magnolia.png)
![squidoo](http://benny.ayong.googlepages.com/squidoo.png)
![newsvine](http://benny.ayong.googlepages.com/newsvine.png)
![live](http://benny.ayong.googlepages.com/live.png)
![netscape](http://benny.ayong.googlepages.com/netscape.gif)
![tailrank](http://benny.ayong.googlepages.com/tailrank.png)
![mister-wong](http://benny.ayong.googlepages.com/misterwong.gif)
![blogmarks](http://benny.ayong.googlepages.com/blogmarks.png)
![slashdot](http://benny.ayong.googlepages.com/slashdot.png)
![spurl](http://benny.ayong.googlepages.com/spurl.png)
![StumbleUpon](http://www.stumbleupon.com/images/stumble7.gif)
http://stackoverflow.com/questions/396281/new-c-sharp-programmer-adding-two-numericupdown-values-together
ReplyDelete