Hello
Merry Xmas
List<string> list = new List<string>();
list.Add("A");
list.Add("B");
List<string> list1 = new List<string>();
list.Add("a");
list.Add("b");
for (int i = 0; i < list.Count; i++)
{
// print another list items.
for (int j = 0; j < list1.Count; j++)
{
Console.WriteLine("/" + list[i] + "/" + list1[j]);
}
}
I want to code like this string tmpS =+ list[i];
to Join the next list item togeter.
then print tmpS
but compile error CS0023: Operator '+' cannot be applied to operand of type 'string'.
How to print all the items below.(any sort is ok)
A Aa Ab Aab Aba AB ABa ABb ABab ABba B Ba Bb Bab Bba
(The Caps number No swap. the small characters should be swaped. and always follow Caps Numbers Append small characters.)
Thank you.