Antrium A35D

Bir sonraki için en iyisini yap...

Arama Sonuçları : uzantı

c# Extension from string, c# dosya yolundan uzantı bulmak

string myFilePath = @"C:\MyFile.txt";
string ext = Path.GetExtension(myFilePath); // ext would be ".txt"

Yukarıdaki kodla dosya yolundan uzantıyı bulabilirsiniz.

Devamı →
Hüseyin ÖZKAN Yazılım Uzmanı

C#,MVC,MSSQL,Windows Forms