Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Checking text in a multiline textbox
Paul Buys
Apr 30 2015 5:06 AM
417
Reply
Hiya,
I'm trying t write a program that will help me to memorize code. Kind of like a flash card game that i can play everyday fr a few minutes to help me learn prgramming.
a question will pop asking something like, "Howto declare a new string array", and in the text box below I wuld need to type string[] arrayName = new string[10]; ect...
The problem I am facing is when it comes to multiline answers, like how to create a method -
private void methodName()
{
}
this answer wuld require a multiline text box that would need to be checked according to an aswer in an array, so can anyone help me with how to compare text in a multiline textbox?
The single line textBox code looks like this;
if(textBox1.text == answerArray[indexOfArray])
{
doSomeCode;
}
Regards
Paul
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How Do I Set Background Image Of Rdlc Report Table
listbox