c#: why can't i do a Messagebox.Show(some_int) ?
Posted
by every_answer_gets_a_point
on Stack Overflow
See other posts from Stack Overflow
or by every_answer_gets_a_point
Published on 2010-04-13T18:28:27Z
Indexed on
2010/04/13
18:32 UTC
Read the original article
Hit count: 119
c#
MessageBox.Show((some_string.Length).ToString);
i am getting two errors for this:
Error 1 The best overloaded method match for 'System.Windows.Forms.MessageBox.Show(string)'
Error 2 Argument '1': cannot convert from 'method group' to 'string'
can someone tell me how to do this correctly?
© Stack Overflow or respective owner