© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
8 replies
❓𝙋𝙮𝙩𝙖𝙟𝙣𝙞𝙠 🩷

Why Predicate contains in and parentheses?

Predicate<string> blahBlah = (string b) => b.Equals(b.ToUpper());
Predicate<string> blahBlah = (string b) => b.Equals(b.ToUpper());
As on the screenshot, this code is valid and I'm not doing something like <in string> and also there are no parentheses like Predicate<string>()
unknown.png
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

❔ Predicate in LINQ GroupBy
C#CC# / help
4y ago
why is there "string[] args" inside the main function parentheses?
C#CC# / help
2y ago
Join to other table in LINQKit Predicate
C#CC# / help
16mo ago