1
Answer

error

Julin James

Julin James

9y
357
1
Error 19 'delegates.mymath' does not contain a definition for 'sum' and no extension method 'sum' accepting a first argument of type 'delegates.mymath' could be found (are you missing a using directive or an assembly reference?) C:\Users\valsapc\Desktop\new\delegates\delegates\Class1.cs 32 30 delegates
Answers (1)
0
habib ullah

habib ullah

NA 116 2k 7y
sir please define the details of the above code
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 7y
You can use Path.GetExtension()
 
string myFilePath = @"C:\Manas.txt";
string ext = Path.GetExtension(myFilePath); //.txt