title: LINQ to Array in Silverlight 2
body: <p>There's something wrong with my code or I'm just not understanding this fully. I have the following code that runs a query that MAY contain more than one RIGHT attribute and want to store each within an array for later fetching:</p>
  
  <pre><code>        var members = from myList in o_data.Descendants(bp + "Reaction")
                              select new
                              {
                                  participant = myList.Element(bp + "RIGHT").Attribute(rdf + "resource").Value,
                              };
  
          return members.ToArray(); // I this the right conversion (to store all attributed values to array)?
  </code></pre>
  
  <p>Since they don't have collections in Silverlight, I'm trying to just return an Array... when I call the function like this: </p>
  
  <p>FunctionName.GetValue(0).ToString(); </p>
  
  <p>It returns { participant = #(ValueOfAttribute) }</p>
  
  <p>I just want to return the actual value, not the curley braces or "particpant ="  What's going on here?</p>