Write a Linq expression to fetch the desire results
AnswerBot
1y
Linq expression to fetch desired results
Use 'Where' to filter data based on conditions
Use 'Select' to project data into desired format
Use 'OrderBy' or 'OrderByDescending' to sort data
Use 'Skip' and 'T...read more
Anonymous
5mo
string input = "programming";
var duplicates = input.GroupBy(c -> c).where(g -> g.Count() > 1).Select(g -> g.Key)
Consore.writeline(duplicates);
Help your peers!
Add answer anonymously...
Top Medtronic Lead Engineer interview questions & answers
Popular interview questions of Lead Engineer
Top HR questions asked in Medtronic Lead Engineer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app