Equivalence My.computer a c #

0

I have the following line in visual bAsic:

    Dim listadoArchivos = My.Computer.FileSystem.GetFiles(directorio, FileIO.SearchOption.SearchTopLevelOnly, filtro)

the equivalence in c # what would it be?

    
asked by ger 15.11.2018 в 17:20
source

1 answer

1
System.IO.Directory.GetFiles(directorio, filtro, System.IO.SearchOption.TopDirectoryOnly);
    
answered by 15.11.2018 / 17:23
source