bool.Parse()

Converts the string representation of a boolean value to its boolean type equivalent.