Hello, I need a list of type string to be able to print all the characters in contains into one word.
public List<string> input;
if(Input.inputString!=null)
{
input.Add(Input.inputString);
}
So in this example everytime a string is entered it it saved to the list. Now Once I am ready I need to be able to print the strings together.
e.g. user enters the strings “bannana”, “carrots” and “potatoes” into the list.
I would like to have code that prints the contents of the list i.e “bannanacarrotspotatoes”
Any ideas?
Thanks