Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6382533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:32:04+00:00 2026-05-25T02:32:04+00:00

I use Asp.net 4 and C#, Linq and EF 4. I need to retrieve

  • 0

I use Asp.net 4 and C#, Linq and EF 4.

I need to retrieve in the reverse order how how they were entered instances for a Custom DataType (in my case CmsCategory).

The collection will contain maximum 10 items.

Which System.Collections.Generic fits in this situation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:32:04+00:00Added an answer on May 25, 2026 at 2:32 am

    You should use the generic Stack:

    var stack = new Stack<int>();
    stack.Push(1);
    stack.Push(2);
    stack.Push(3);
    stack.Pop(); // 3
    stack.Pop(); // 2
    stack.Pop(); // 1
    

    Or just use a simple List and then call Reverse():

    var list = new List<int> {1, 2, 3};
    list.Reverse(); // {3, 2, 1}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How get data from mysql database? I use ASP.NET and C#.Previously, I used LINQ
My app in ASP.NET C#, i use linq to sql to pass data from
My app in ASP.NET C#. I use Linq to Sql, look the picuture //
I use asp.net 2 and need to consume a 3rd party HTTP GET call
I use Asp.net 3.5 and EF 4. I need find a specific row in
[ASP.NET 4.0 / EF 4.1] Hi, I´m trying to use "Linq Methods" to filter
I'm working on a personal project (C# / ASP.NET) that will use LINQ to
I use C# Asp.net 4 and Linq. I have a Generics of type BOOL.
In my ASP.NET web-application I use NHibernate to persist my User-Instances, where each of
I use ASP.NET I want to show percentage to user from codebehind while database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.