...
info@visitorsprofits.com
Facebook
Twitter
Linkedin
Instagram
Login
Signup
Login to your Account
Remember me
Sign in
Forgot Your Password?
Signup
Signup for your Account
I agree to the terms and services.
Register
Have an account? Login »
0
NOTIFICATIONS
View All
Register or Login to Your Account
Home
Forums
IQ’s
Blogs
Services
ONLINE JOB SUPPORT
REMOTE SUPPORT
CORPORATE TRAINING
Articles
Jobs
Free Demo
Contact Us
Interview Question
Interview Questions
New Question
My Questions
My Answers
Profile
Rules
Help
Qus:
How can I select count() in a LINQ expression?
Feb 19, 2021 18:55
DotNet
1 Answers
Views: 1300
FRAUSKY
Prev
Next
Answers (1)
PARTH
Feb 20, 2021 09:10
Answer:
Please refer to below example -
IEnumerable items = new List { 8, 3, 2 };
int count = (from x in items where x < 5 select x).Count();
Post Your Answer
Guest User
Not sure what solution is right for you?
Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.
Let`s Connect