I am just starting to program in C#, so I am a beginner.  I've been practicing some coding and I would like your opinion on something. I have a flying direction for a plane, e.g. ''London - Berlin'' (direction). I want to create a method that will return the first and the last consonant of the plane's starting point (London), and the first and the last consonant of the plane's destination (Berlin).I have written this, so I would like to know if it's ok, or if you have some suggestions:public class Flight{    private string direction;    public Flight(string direction)    {        this.direction = direction;    }    public string Consonants()    {        string starting = direction.Split('-')[0];        string destination = direction.Split('-')[1];        string startConsonants = starting.ToUpper().Replace(A, ).Replace(E, ).Replace(I, ).Replace(O, ).Replace(U, );        string destConsonants = destination.ToUpper().Replace(A, ).Replace(E, ).Replace(I, ).Replace(O, ).Replace(U, );        return string.Format({0}{1}-{2}{3}, startConsonants[0].ToString(), startConsonants[startConsonants.Length-1].ToString(), destConsonants[0].ToString(), destConsonants[destConsonants.Length-1].ToString());    }}
Returning consonants of a plane's starting and ending points
c#;beginner