I have a scenario where i have a
var testVar= list1.Intersect(list2);
testVar contains about 400 values.
Now i have to show all the value in the text box.
Like:
Textbox1.text = testVar...
So, without for loop how can is show these value in TextBox
Please, Help
Assuming you are working with Lists of strings, you want to do this:
The reason I left the
s => slambda is that your list might not be of strings. So this construct will give you a chance to build your string items accordingly.