Horje
how to change the extension of a file C# Code Example
how to change the extension of a file C#
//There is: Path.ChangeExtension method. E.g.:
var result = Path.ChangeExtension(myffile, ".jpg");

//In the case if you also want to physically change the extension, you could use File.Move method:
File.Move(myffile, Path.ChangeExtension(myffile, ".jpg"));




Csharp

Related
loop over enum values Code Example loop over enum values Code Example
c# loading assembly at runtime Code Example c# loading assembly at runtime Code Example
unity dictionary check if key exists Code Example unity dictionary check if key exists Code Example
time.timescale Code Example time.timescale Code Example
top most wishlisted games on steam Code Example top most wishlisted games on steam Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9