I am getting the error "Cannot choose method from method group. Did you intend to invoke the method".
if ((!File.Exists(pathString + "\\" + fileName + ".cs")) &&
(!File.Exists(pathString + "\\" + fileName + ".vb")) &&
(!File.Exists(pathString + "\\" + fileName + ".c")) &&
(!File.Exists(pathString + "\\" + fileName + ".cpp")))
Just use using SO=System.IO.File.Exists in top of the program and use SO.File.Exists
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With