Horje
c# fileinfo filename without extension Code Example
c# fileinfo filename without extension
DirectoryInfo dir = new DirectoryInfo(path);
FileInfo[] files = dir.GetFiles("*.txt");

foreach (FileInfo file in files)
{
    string noExtension = Path.GetFileNameWithoutExtension(file.Name);
}




Csharp

Related
bitwise and c# Code Example bitwise and c# Code Example
c# string contain double quote Code Example c# string contain double quote Code Example
c# distinct dictionary Code Example c# distinct dictionary Code Example
C# converting to string examples Code Example C# converting to string examples Code Example
creating a class in c# Code Example creating a class in c# Code Example

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