title: Basic LINQ to Object codes
body: <p>I'm learing the LINQ.</p>
  
  <p>I made some codes.</p>
  
  <pre><code>string mySource = @"
  #16
  100%
  Monitor
  #19
  98%
  Guide
  #77
  0%
  Cord
  ";
  var myPattern = @"#(\d+)\r\n(\d+)%\r\n([^\r\n]*)\r\n";
  var myCollection = Regex.Matches(mySource, myPattern, RegexOptions.Singleline)
  .Cast&lt;Match&gt;().ToList();
  MessageBox.Show(string.Join("\n", myCollection));
  </code></pre>
  
  <p>Looks nice.</p>
  
  <p>But, What I really want to do is like this.</p>
  
  <p>(this kind of data structure)</p>
  
  <pre><code>var myList = new List&lt;string[]&gt;();
  var myArray1 = new string[] { "#16", "100%", "Monitor" };
  var myArray2 = new string[] { "#19", "98%", "Guide" };
  var myArray3 = new string[] { "#77", "0%", "Cord" };
  myList.Add(myArray1);
  myList.Add(myArray2);
  myList.Add(myArray3);
  </code></pre>
  
  <p>What do I have to do ?</p>
  
  <p>Regards</p>