This code works well:
int One = 1;
int Two = 2;
if ( One == 1 && Two == 2)
{
int i = 1;
}
What I now wonder is this. I want to put everything that is written inside the () in a textBox so it will look like this:
int One = 1;
int Two = 2;
if
(
One == 1 && Two == 2 // This line is written in a textBox
)
{
int i = 1;
}
So what I am trying to achive is in anyway parse out every word and character from this textBox to be executable code.
I know that I have to use maps in any way but dont know how to start this and how this in the end will be executable code. I am reading about maps now to understand this better.