Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From System.Collections.Generic.IEnumerable to string
Message
De
06/05/2015 10:14:18
 
 
À
06/05/2015 10:12:41
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01619437
Message ID:
01619471
Vues:
26
>It just works. And a little correction to my previous reply, you don't need to use ToString(). ie:
>
>
>' arbitrary types of items
>Dim myList = {"Hello there at ", DateTime.Now(),". ", 4, " times ", 5, " is ", 4*5 }
>
>' sep is unknown
>dim sep as string
>
>Dim Result = String.Join(sep, myList)
>
>Console.WriteLine( Result )
>
>
>
>Outputs:
>Hello there at 5/6/2015 5:11:48 PM. 4 times 5 is 20

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform