• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
+ 1

C#

please can anyone help me with the code to delete pictures from a folder using c#

".jpg");file.copy(importlocationidbox.text.tostring()imagefile
18th May 2020, 5:57 PM
silva
2 Respuestas
0
File.Delete: https://docs.microsoft.com/en-us/dotnet/api/system.io.file.delete To delete a single file. Directory.GetFiles: https://docs.microsoft.com/en-us/dotnet/api/system.io.directory.getfiles If you have to search files first. Directory.Delete: https://docs.microsoft.com/en-us/dotnet/api/system.io.directory.delete If you just want to delete the complete folder.
18th May 2020, 6:46 PM
Manu_1-9-8-5
Manu_1-9-8-5 - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
Issue with Sololearn Module Quiz Despite Correct Answers
2 Votes
I need help to solve this
0 Votes
Project
0 Votes
Engineer Cloud
0 Votes
How to add comment in python?
0 Votes
Lua?
1 Votes
How do we code calculator
1 Votes
Hey what the research process order for them that I am telling you please order them and tell me answer
0 Votes
Ayuda para insertar la imagen de portada y las melodías a mi álbum alguien sabe cómo
0 Votes