static void Main(string[] args)
var cookie = new HttpCookie();
Console.WriteLine(cookie["name"]);
private readonly Dictionary<string, string> _dictionary;
public DateTime Expiry { get; set; }
_dictionary = new Dictionary<string, string>();
public string this[string key]
get { return _dictionary[key]; }
set { _dictionary[key] = value; }