I'm grabbing data from a SQL Server database into a DataTable that I convert using AsEnumerable and then separating using a series of Linq statements. My ultimate goal is to take those Linq queries and have it generate a HashTable for me. So instead of Anonymous types:

```
var facebookPosts
    = from f in results.AsEnumerable()
      where f.GetInt("SocialMediaTypeID").Equals(
          (int) SocialMediaRecordType.FacebookPost)
      select new {
          Headline = f.GetString("Headline"),
          Parameters = new Parameters(f.GetString("Parameters")),
          SocialMediaUserID = f.GetLong("SocialMediaUserID"),
          SocialMediaRecordID = f.GetLong("SocialMediaRecordID"),
          GravityScore = f.GetFloat("GravityScore"),
          NewsDate = f.GetDateTime("NewsDate", false),
          Template = "Facebook"
      };

```

I'd be able to do something like this:

```
var facebookPosts1
    = from f in results.AsEnumerable()
      where f.GetInt("SocialMediaTypeID").Equals(
          (int) SocialMediaRecordType.FacebookPost)
      select new Hashtable {
          { "Headline", f.GetString("Headline"),
            "SocialMediaUserID", f.GetLong("SocialMediaUserID"),
             etc... }                                    
      };

```

Is this possible with .NET 4.0?

**EDIT:** To clarify the question, ultimately what I'm doing with this is returning JSON to the browser. My company has created a JsonObject class that derives from a HashTable and that is what I have to use to ultimately return the Json. What I'd like to do is create one Hashtable (or JsonObject) per row in *results* that has, using the example above, a key named *Headline* with a value of *f.GetString("Headline")*, another key named *SocialMediaUserID* with a value of *f.GetLong("SocialMediaUserID")* and so on. Facebookposts would ultimately be an array or IEnumerable of HashTable or JsonObject with several key/value pairs in each. If I can't do it this way, I guess I'm stuck doing manipulation of *facebookPosts* into the proper JsonObject structure that I need? I do need to specify the names explicitly.