That's because in C# the "in" keyword is meant to only be used as part of a foreach statement, not to test if a value is a part of a sequence. Also, when using the TextBox class, you cannot treat instances of it as a String, you need to use the Text property (so, textbox.Text, instead of textbox).
Now, what you're looking for is something along the lines of the Contains() method of the String class, which finds a given substring in the string. So to find a substring in the text of a textbox, it would be of the form
Code:
textbox.Text.Contains("substring")