I have this code in C# mvc Controller:
[HttpPost] public ActionResult Delete(string runId) { if (runId == \"\" || runId == null)
If you returned an actually non-anonymous class, you could have just done:
var strongTypedResult = result as ;