string appPath = AppDomain.CurrentDomain.BaseDirectory;
Tag Archive: c#
Jan 26
Cannot convert lambda expression to type ‘string’ because it is not a delegate type
When you get the “Cannot convert lambda expression to type ‘string’ because it is not a delegate type” error in Visual Studio 2010, all you have to do is add using System.Linq; to the top of the source file.