我有这个SortedDictionary
:
var signature_parameters = new SortedDictionary<string, string>
{
{ "oauth_callback", SocialEngine.twitter_aggrega_redirect_uri },
{ "oauth_consumer_key", SocialEngine.twitter_aggrega_consumer_key },
};
现在我尝试了这个:
var header_parameters = signature_parameters.Add("oauth_signature", Uri.EscapeDataString(oauth_signature));
但它说I can't assign a void variable to a implicit method
。
我哪里错了?