public TernaryTrieNode <V> Get(char charKey) { var response = charKey.CompareTo(CharKey); if (response < 0) { if (Left != null) { return(Left.Get(charKey)); } return(null); } else if (response > 0) { if (Right != null) { Right.Get(charKey); } return(null); } else { if (Middle != null) { Middle.Get(charKey); } return(null); } }