static void Main(string[] args) { Text.Text text = new Text.Text(); text.Add(" sentence "); text.Add("we are here"); text.Show(); text.Remove_end_spaces(); text.Remove_begin_spaces(); text.Remove_whitespaces(); Console.WriteLine("- - - - - - - - - -"); text.Show(); Console.ReadKey(); }