[Solved] rewrite this code to use in .NET 2.0? [closed]


Shoulbn’t be that hard to figure out but here:

//instead of var use the actual type
FacebookClient client = new FacebookClient();
//again use the actual type
IDictionary<string, object> me = (IDictionary<string, object>)client.Get("me");
string firstName = (string)me["first_name"]; //May use 'me["first_name"].ToString()'
string lastName = (string)me["last_name"];
string email = (string)me["email"];

solved rewrite this code to use in .NET 2.0? [closed]