What is the fastest c# function that takes and int and returns a string containing a letter or letters for use in an Excel function? For example, 1 returns \"A\", 26 return
I can tell you that the fastest function will not be the prettiest function. Here it is:
private string[] map = new string[] { "A", "B", "C", "D", "E" ............. }; public string getColumn(int number) { return map[number]; }