c# - Can I select individual Items from a list? -
I have a list of strings and I have to select some parts of the list to create a different string. What do I have:
name, gender, hair color, car; Or John, Men, Brown, Toyota; I also have a separate file which tells which part, and in which order the new string should be created.
Example: Index = 0,3, 1 will print John, Toyota, Male or 1,2,0 Print will Male, Brown, John . I have tried and I have tried several ways to choose the index of items, but all the tasks which return the values only return the contents of the list, and only one Returns which gives an integer calculation () , which can not see me as a helper. I have tried and tried, but whatever I am doing, it is confusing me as much as I am. Can someone suggest getting it?
You should be able to list [i] where I have an index of essential elements here. Examples are given:
Comments
Post a Comment