© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
15 replies
TheBoxyBear

Linq Concat not defined?

var result = mappings.Where(m => m.Difficulty != Content.Difficulty).Concat(newMappings);
var result = mappings.Where(m => m.Difficulty != Content.Difficulty).Concat(newMappings);


I have Linq in my usings and setting result to only Where compiles but when I append Concat, it's saying IEnumerable<> has no definition for Concat. The types of mappings and newMappints are the same and I get recommended Concat when I type it.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

System.Linq and TakeLast() not defined.
C#CC# / help
2y ago
LINQ
C#CC# / help
2y ago
❔ LINQ
C#CC# / help
3y ago
SqlConnection not defined?
C#CC# / help
3y ago