© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
39 replies
Ronnie

❔ ✅ C# lists

int[] arr = {1, 2, 3, 4, 5};
List<int> myList = new List<int>();
int[] arr = {1, 2, 3, 4, 5};
List<int> myList = new List<int>();
rather than using
.Add()
.Add()
is there a way that i can put the array into myList in order to create the list from that
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ Lists
C#CC# / help
3y ago
❔ Lists
C#CC# / help
4y ago
❔ Adjust lists
C#CC# / help
3y ago
✅ EntityFrameworkCore lists
C#CC# / help
4y ago