System.Activities System.Activities.Statements System.Activities.Expressions System.Activities.Validation System.Activities.XamlIntegration Microsoft.VisualBasic Microsoft.VisualBasic.Activities System System.Collections System.Collections.Generic System.Data System.Diagnostics System.Drawing System.IO System.Linq System.Net.Mail System.Xml System.Xml.Linq UiPath.Core UiPath.Core.Activities System.Windows.Markup System.ComponentModel System.Runtime.Serialization System.Xml.Serialization UiPath.Excel UiPath.Excel.Activities System.Reflection System.Activities Microsoft.VisualBasic System.Private.CoreLib System.Data System.Data.DataSetExtensions System System.Drawing System.Core System.Xml System.Xml.Linq System.Xaml UiPath.System.Activities UiPath.UiAutomation.Activities System.ComponentModel.TypeConverter System.ComponentModel.Primitives System.ComponentModel System.ObjectModel System.ComponentModel.EventBasedAsync System.Runtime.Serialization.Formatters System.Runtime.Serialization.Primitives System.Private.ServiceModel System.Private.DataContractSerialization System.Private.Xml UiPath.Excel UiPath.Excel.Activities.Design UiPath.Excel.Activities System.Data.Common True ["fr"] [dtout] [(From r In dt.AsEnumerable Group r By a=r("fr").ToString,b=r("to").ToString Into grp=Group Select grp.OrderByDescending(Function(x) CDate(x("Valid fr").ToString)).first()).CopyToDataTable]