value from textbox using in code c# code example Example: how to get text from textbox in windows form c# string text = textbox.Text;