I have a MVC that posts an array of integers, and I want to convert that array of int’s to IEnumerable<MyTestObj>. How is that done? It seems I can’t use myintArr.AsEnumerable().
I have a MVC that posts an array of integers, and I want to
Share
You need something along the lines of the following (depending how you create the object):