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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:10:31+00:00 2026-06-10T10:10:31+00:00

I have tried this several ways and keep getting an error each time I

  • 0

I have tried this several ways and keep getting an error each time I try.

This is using .net 3.5 with asp.net(forms) and vb.net.

Examples:

Dim _registrations = New List(Of Integer)

Dim regList As String

Dim ListOfReg = _registrations.convertall(Of String)(Function(i As Integer) i.ToString())

regList = String.Join(",", ListOfReg.ToArray())

Error message:

Overload resolution failed because no Public 'convertall' can be called with these arguments:
'Public Function ConvertAll(Of String)(converter As System.Converter(Of Integer,String)) As System.Collections.Generic.List(Of String)':
Argument matching parameter 'converter' cannot convert from 'VB$AnonymousDelegate_0(Of Integer,String)' to 'Converter(Of Integer,String)'.

Other attempt:

regList = String.Join(",", (_registrations.Select(Function(reg) reg.ToString()).ToArray()))

Error message:

Public member 'Select' on type 'List(Of Integer)' not found.

Any help is appreciated.

Thanks.

  • 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-10T10:10:32+00:00Added an answer on June 10, 2026 at 10:10 am

    this should work , I guess it is the square brackets on the select?

    .NET 3.5 solution

    Dim integers As List(Of Integer) = New List(Of Integer)
    integers.Add(1)
    integers.Add(2)
    integers.Add(3)
    
    Dim commas As String = String.Join(",", integers.[Select](Function(i) i.ToString()).ToArray())
    
    MessageBox.Show(commas)
    

    Below is the.NET 4.0 Solution

    Dim integers As List(Of Integer) = New List(Of Integer)
            integers.Add(1)
            integers.Add(2)
            integers.Add(3)
    
    
            Dim commas As String = String.Join(",", integers.ToArray)
    
            MessageBox.Show(commas)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried this several different ways but can't seem to figure out how
I have tried this question on the site of Titanium and several tweets to
I have tried looking though several of the already asked question about this topic
I am stumped by this one. I have tried several angles and some come
I have tried several ways to cast a float to an int, what I
I have tried several ways to get MoveFileEx working with the DELAY_UNTIL_REBOOT flag without
I'm having trouble getting django's django.contrib.localflavor.au.forms to validate my form input. I have tried
I need to monitor console output in Java, I have tried several different ways
I have tried this: #define format(f, ...) \ int size = strlen(f) + (sizeof((int[]){__VA_ARGS__})/sizeof(int))
I have tried this to pass the information: Form1 frm1 = new Form1(); textBox1.Text

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.