C#: write the output of a void function into a text box
<p>I m a beginner and I'm developing a gtk# project in monodevelop.</p>

<p>I have a void function that prints out some stuff (like 0x01, 0x00). And I want them to be shown in a text box. However, I cant just add the output of the function to a TextBox.Text  So what should I do?</p>