foreach (string di_child in dirs) {
Response.Write("\t<li class=\"directory collapsed\"><a href=\"#\" rel=\"" + drive + di_child.Name + "/\">" + di_child.Name + "</a>\n");
}
VS complains that operators ‘+’ cannot be applied to operands of type ‘string’ and method group.
I just want to concatenate those strings. How can I do that?
Thanks in advance
One Question:
you are iterating string values and concatenating string.Name. I don’t think there is any property ‘Name’ attached to a string.