[Solved] Operator ‘


Get extension is a function and you have < between it and its ()

Replace this:

string sFileExt1 = Path.GetExtension < (objFI[0].Name);

With:

string sFileExt1 = Path.GetExtension(objFI[0].Name);

3

solved Operator ‘<' cannot be applied to operands of type 'group of methods' and 'string' in c# [closed]