@PavithraSundaram wrote:
Hola People!
I am trying to copy a file from folder to another folder, with a condition that contains (abc*.xlsx).
I assigned the path of the file to a string. and using a for loop.
Inside my loop, I have an if loop, that checks Path.GetFileName(item).contains(abc*.xlsx) -> it shows a compile error as Object strict on disallows implicit conversion from Object to String.Can someone pls help??
Posts: 5
Participants: 3