Israel

Israel

  • 1k
  • 1.3k
  • 168.2k

Keeping in memory...

Apr 22 2015 12:02 PM
Hi!


I would like to learn more (or step by step) concerning LIST.
I have this code I need to know something: I hear that the data stay in the memory... With these code how can know that these data are into my memory???
Later on I would like to know how can I save it in database. Thanx!

private void button1_Click(object sender, EventArgs e)
        {
            List<string> AuthorList = new List<string>(); 
            AuthorList.Add("Test1");
            AuthorList.Add("Test2");
            AuthorList.Add("Test3");
            AuthorList.Add("Test4");
            AuthorList.Add("Test5");
        }


Answers (1)