title: How to add index range of one string list to another string list
body: <p>I am new to c# and recoding some python into c#. How would you take a range of one list (list1) and create a new shorter list of it(list2)? </p>
  
  <pre><code>python
  list1= ["lets", "go", "visit", "houston", "texas"]
  list2 = []
  list2.append(list1[3:4]) ##new list is ["houston", "texas"]
  #or
  list2.append(list1[3:]) ##new list is ["houston", "texas"]
  </code></pre>
  
  <p>How would this look in c#?</p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
      {
          List &lt; string &gt; list1 = new List &lt; string &gt; ();
          list1.Add("lets");
          list1.Add("go");
          list1.Add("visit")
          list1.Add("houston");
          list1.Add("texas");
  
          List&lt;string&gt; list2 = list1.GetRange(3, 4);
      }
  </code></pre>
  
  <p>Is there a better way to get list index ranges? And how to begin the index,  list1[:3] or index to end list1[3:]</p>