• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • 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 Antworten
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

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Functions in python
2 Votes
How to make a playground
1 Votes
Html 5 document question
1 Votes
𝙵𝙸𝙽𝙳 𝚃𝙷𝙴 𝙸𝙽𝙿𝚄𝚃 𝙾𝙵 𝚃𝙷𝙴 𝙿𝚁𝙾𝙶𝚁𝙰𝙼
1 Votes
Python
0 Votes
Can someone explain inline and block elements please
0 Votes
Actual Artificial Intelligence
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes