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 4562006
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:09:17+00:00 2026-05-21T18:09:17+00:00

I have a scenario where i have a var testVar= list1.Intersect(list2); testVar contains about

  • 0

I have a scenario where i have a

var testVar=  list1.Intersect(list2);

testVar contains about 400 values.

Now i have to show all the value in the text box.
Like:

Textbox1.text = testVar...

So, without for loop how can is show these value in TextBox

Please, Help

  • 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-21T18:09:18+00:00Added an answer on May 21, 2026 at 6:09 pm

    Assuming you are working with Lists of strings, you want to do this:

    Textbox1.Text = String.Join(", ", testVar.Select(s => s).ToArray());
    

    The reason I left the s => s lambda is that your list might not be of strings. So this construct will give you a chance to build your string items accordingly.

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

Sidebar

Related Questions

I have scenario, in which I am getting images using Web Service and all
I have a scenario where I need to show a different page to a
I have this scenario. An ascx contains this GridView: <asp:GridView ID=dataTable runat=server > <Columns>
i have this scenario where im loading images using a for loop: for (var
I have a scenario outline that has two different variables. One variable has about
Scenario: .I have 30 tips in xml file, now I want to display it
I have a scenario where I need to show the preview of form in
We have scenario: SQL Server 2008 we have replication on the db we have
I have scenario, I have two update panels on the page (both have update
I have scenario where I have to use the same XSD element for different

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.