Hi team I am using -
Index = Directory.GetFiles(“C:\Users\ggopalakrishnan\Desktop\test_duplicate”).Max(Function(f)CInt(System.Text.RegularExpressions.Match(Path.GetFileNameWithoutExtension(f),“\d+$”).Value))
Index is Int32 datatype
but I am getting below error -
kindly help
Regards,
Gokul