string str = new string(Enumerable.Range(0, N).Select(a => (char)('A' + a % 3)).ToArray());
Login to post response