title: MembershipUserCollection to IEnumerable<MembershipUser> for paging
body: <p>I am working in asp.net MVC 3 application. I want to show a list of users. I have created a function in repository like this:</p>
  
  <pre><code> internal MembershipUserCollection GetUsers() {
             return Membership.GetAllUsers();
         }
  </code></pre>
  
  <p>I need IEnumerable object because I want to do paging as well. How can I do paging using MembershipUserCollection  or convert MembershipUserCollection  to IEnumerable</p>
  
  <p>Please suggest</p>