For some reason, when I'm trying to compile my .cs file into a .dll using the Visual Studio Command Prompt, I get a new line constant error
upon trying to compile for some reason.
It's not liking the semicolon after + feet"
.
Any idea why?
Here is my code:
/* A simple C# class! */
public class Tree
{
public int height = 0;
public void Grow(int h)
{
height += h;
}
public string Message()
{
return "The height of tree1 is:<br/>" + tree1.height + feet";
}
}