Within Excel, a range such as this can be passed directly into the Tenors parameter.
CTQL.CTRangeData ShowYCDiscounts3_Tenors;
string[] arrBShowYCDiscounts3_Tenors = {
"3M",
"6M",
"9M",
"12M",
"15M",
"18M",
"21M",
"24M",
"27M",
"30M",
"33M",
"36M",
"39M",
"42M",
"45M",
"48M",
"51M",
"54M",
"57M",
"60M" // Array Data
};
CTQL.StringVector arrShowYCDiscounts3_Tenors =
new CTQL.StringVector(arrBShowYCDiscounts3_Tenors);
// Second parameter determines whether the array is a column array (false) or a row array (true)
ShowYCDiscounts3_Tenors = new CTQL.CTRangeData(arrShowYCDiscounts3_Tenors, false);