hi
I'm new to C# and I didn't have any programming skills.
I'm on my third week now and it seems it's quite complex
I would like to design a code, where it can determine the word type in the sentence.
So, first one must type a sentence and then on the second box, just type a word and check if its present in the first box (from the sentence you typed)
the result should show, true or false.
I started a code but I don't know how to continue: Any idea or suggestion is greatly appreciated:
namespace DisplayWordJaNein
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
string yourSentence;
string yourWord;
yourSentence = textBox1.Text;
yourWord = textBox2.Text;
if
from here I'm not sure what to do. From what I've learned I have to use the type bool here. But don't know how to implement.
thanks & regards