Ciao a tutti,

ho un problema, passo una stringa a questa funzione , ed in base alla stringa devo far tornare un valore.

codice:
        private string colorSyntax (string getString)
        {
            Color rColor = Color.Yellow;
            string s = getString;
            if (s == "ciao")
            {
                rColor = Color.Red;
            }
            return (getString = rColor.ToArgb().ToString());
        }
Per quale motivo non mi esegue la condizione IF?
cosa sto sbagliando?