Methods that check strings issues - C#