Home dotnet programming ActionResult doesn't enforce return value ActionResult doesn't enforce return value at 9:36 AM Email ThisBlogThis!Share to XShare to Facebook I thought it would be a comprehensive feature but this compiles. public ActionResult<int> GetInt() { return Ok("not an int"); } ActionResult<T> doesn't enforce return value Click here
0 comments:
Post a Comment