Go to here https://docs.microsoft.com/en-us/dotnet/api/system.io.path.getextension?redirectedfrom=MSDN&view=net-6.0#System_IO_Path_GetExtension_System_String_
string myFilePath = @"C:\MyFile.txt";
string ext ...READ MORE
Jun 21, 2022
in C#
by
jyoti
• 1,240 points
•
636 views