このようにIEnumerableにXML値を保存しています
public static IEnumerable bindstate()
{
var states = from b in getdata().Descendants("state").SelectMany(state => state.Elements("text"))
orderby (string) b
select (string) b;
return states;
}
IEnumerable 以外に値を格納する方法はありますか?