Attempting to go through the UI Path Academy video Studio examples for switch statements and at the 2 minute mark they’re referencing a system.io.fileinfo versus fileinfo(item) for use in the value of the Assign object. Even after referencing this object I still have a compile error.
Here’s the error:
Validation Error Compiler error(s) encountered processing expression “new FileInfo(item)”.
Option Strict On disallows implicit conversions from ‘Object’ to ‘String’. Switch_Test.xaml