I am finding it hard to do this the in OOP/event driven environment.
I am trying to make a typing tutor in Visual C#.
So I've already made an array where each elemnt is a single word.
Now my next steps are, parse the first word, seperating each letter.
Then have textbox, each time the textbox contentChange (or which ever it is called) event happens, I'll compare it to the first letter in the word, if it is the same, go ahead to the next letter, and the cycle continues.
But I'm stuck on how to implement this?
I've tried making a public array in my form class but it gives a bunch of errors:
public string wordArray; wordArray = new string;
Errors include: 'Array size cannot be specified in variable declaration (try initializng with a 'new' expression), Invalid token ';', etc etc
Should I create a seperate 'word' class and initial a object within my form?
I'm just stuck on how I should go about doing this as.