Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
.equals(textbox.text) は機能しますか?
Contains メソッドを文字列で使用して、検索したい文字列が含まれていることを確認できます。両方の文字列が同じ値であるかどうかを確認するために使用する場合は、equal メソッド。
他の文字列で文字列を検索するには、これを試してください。
textbox.Text.Contains("string to search");