@Peter:bet you need to do ResultTextBlock.Text = "Hello World";
ResultTextBlock should the name of the TextBlock you named from your XAML file. Text is a property of that object. By doing the .Text, you're telling the code to put the string there. Your code is trying to the TextBlock object to a string, which the compiler doesn't know how to do.