C#
if (Request.Cookies["UserSettings"] != null) {

    HttpCookie myCookie = new HttpCookie("UserSettings");
    //Here, we are setting the time to a previous time.
    //When the browser detect it next time, it will be deleted automatically.
    myCookie.Expires = DateTime.Now.AddDays(-1d);
    Response.Cookies.Add(myCookie);

}