Convert strings to lower case for uniformity
srcStr = srcStr . ToLower ( ) ; targetStr = targetStr . ToLower ( ) ; Dictionary < char , int > dictCount = new Dictionary < char , int > ( ) ; int nUnique = 0 ;