How to covnert string property to bool? : I am developing a tool in wpf. In the tool I have the text field where I enter values. In the code for that, I have string property. Sometimes I need to enter the bool value. How can string property return bool value if it is typed true or false in text field.
Here is property:

    		public string EnvironmentValue
		{
			get { return enviromentValue; }
			set
			{
				enviromentValue = value;
				OnPropertyChanged();
				AddEnviromentCommand.RaiseCanExecuteChanged();
			}
		}