how to get text from textbox in windows form csharp

Code Example - how to get text from textbox in windows form csharp

                
                        string text = textbox.Text;