QuestionQ218Verified/UiPath Automation DevelopmentCopy linkReport a problemAsk AstroTutorSave questionWhich of these statements correctly demonstrates using LINQ to process data in a UiPath project?AUsing LINQ to identify the longest string in a list of strings by writing listOfStrings.Max(Function(x) x.Length()).BEmploying LINQ to convert DataTable to JSON format by writing dataTable.ToJSON().CApplying LINQ to filter out emails in a list of strings containing multiple email addresses by writing listOfStrings.FilterEmails().ToList().DUtilizing LINQ to find the total sum of integers in a list by writing listOfIntegers.Sum(Function(x) x).Show AnswerAnswerExplanationSum(Function(x) x) is a valid LINQ aggregation expression for a collection of integers. It evaluates the selector for each integer and returns the collection’s total sum.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion