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

  • SEARCH
  • Home
  • 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 8811217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:18:29+00:00 2026-06-14T03:18:29+00:00

When I pass (just for display values) to the viewbag an array or a

  • 0

When I pass (just for display values) to the viewbag an array or a list.

Does it change something ( for the speed or memory ) when browsing the elements in a foreach with the razor engine?

  • 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-06-14T03:18:30+00:00Added an answer on June 14, 2026 at 3:18 am

    The performance impact of choosing an array[] over an List is negligible in most cases.

    Sure, array[] are less abstract and used “as is” in the CLR, but the hassle of loosing all the capabilities of List objects is usually not worth the minimal performance boost.

    You can read more here : https://stackoverflow.com/a/5777746/971693

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<form><input type=file name=first onchange=jsFunction(2);> <input type=file name=second onchange=jsFunction(3);</form> Possible to pass just numbers to
I know to access scripts from another module, you just pass the module name
I want to pass an object (not just a string or integer) from a
Just started with JQuery and I've managed to pass a parameter using POST, firebug
I just finished this script it works well, but I am struggling to pass
I need to pass a pointer through a scripting language which just has a
I have codes just like follows: class test: def do_something(): pass test1 = test()
I need to pass a couple bits of info through the URL just by
My data is just number, I want pass it from VC1 to VC2 for
How can I pass Json Rpc data to a specified callback function, just like

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.