Cannot Assign \"AppendText\" because it is a \"method group\".
public partial class Form1 : Form { String text = \"\"; public Form1() {
I figured out that the variable name declared was similar to a method name and hence it didn't allow me to assign a value. The moment I changed the name it worked!