Will display a list of errors as defined by ViewBag.Error containing either a string type or System.String[] type.
ViewBag.Error = "This is wrong";List<string> errors = new List<string>();errors.Add("This is wrong 1");errors.Add("This is wrong 2");ViewBag.Error = errors.ToArray();