Hello Everybody,
Iam not able to figure out why iam getting the following error:
Error 1:Only assignment, call, increment, decrement, and new object expressions can be used as a statement
Error 2: Invalid Expression term '='
Error 3: ; expected
Iam only trying to append "1" to string m_strTime.
public partial class TimerGUI : Form
{
private String m_strTime = "";
....
.....
private void button1_Click(object sender, EventArgs e)
{
m_strTime + = "1"; //<---------ERROR
.....
..........
But if i do this
m_strTime = m_strTime + "1";
Then i dont get errors.
Thanks In Advance