Since the method returns input unchanged if there isn't any match, You can utilize the Object.ReferenceEquals system to determine whether the method has produced any replacements towards the enter string.?????????????????????????????????????????????????????????????????????????????????Teachers will never get replaced by pcs while in the classroom. T