3
Answers

List in c#

Rajesh Kumar

Rajesh Kumar

13y
1.9k
1
Hi....

I am doing work in c# and face a problem in List<L>how can we define list in c#?
                 public class manuController : Controller
    {       
     static List<Mnaish> mm = new List<Mnaish>();
        public ActionResult Index()
        {
            return View(mm);
        }
        public ActionResult Details(Mnaish mm)
        {
            return View(mm);
        }
        public ActionResult Create()
        {
            return View();
        }
Answers (3)