Hi is possible to cast List of objects to List of string array?
Elmar_2 0 Newbie Poster
Recommended Answers
Jump to PostYes. What do you want to be in the strings though - one specific property of the objects, or there ToString representation?
Here are some examples:
void Main() { List<Person> people = new List<Person> { new Person { Firstname = "Dave", Surname = "Amour", Age = 48 …
All 3 Replies
DaveAmour 160 Mmmmmm beer Featured Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
JOSheaIV 119 C# Addict
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.