Response.StatusCode = 404;
Response.Cookies.Append("username", "john");
Response.ContentType = "text/html";This code sets the content type of the response to "text/html", indicating that the response data is HTML. The Response.ContentType property is part of the Response class and can be used to set the content type of the response. All of the examples above utilize the Response class, which is part of the System.Web namespace in C#.