I am trying to do this:
I have created a WindowsForm Application and to this put a "RichTextBox" and a "Button".
I dont really know what approch that could be used for this purpose.
Assume that we have this code:
This is working fine, we assign Number3 = 10; here.Code:int Number1 = 0;
int Number2 = 10;
int Number3 = 0;
if (Number1 < Number2)
{
Number3 = 10;
}
Now what I want to do is to interact with this code through this RichTextBox and what I want to write in this box is the statement:
So instead of writing this in the code, I will write this line in the RichTextBox instead.Code:if (Number1 < Number2)
How is this possible to do ? Where do I begin ?
Thanks