How do I add a value to a table?

advertisements

( Visual Studio 2010 | Win7 Ultimate | C# )

How do I add a value to a table? I have a table called "suggestions" and I'm not sure how to add a value to it, remotely, not hardcoded in.

It's just simple tables, not sure what to call them.

string[] suggestions = new string[] { };

I want to add the textBox1.Text value to that table when a button is clicked.

(suggestions.add, couldn't find anything, the same with suggestions.insert)


try

List<string> suggestions = new List<string>();
suggestions.Add("Use Lists");