Good day to all, I have such a problem - there is a console application in which I want to call the ConfigurationManager but in IntelliSense there is no choice of this class.
using System.Configuration; using System.Linq; class Program { static void Main(string[] args) { var context = new TestDataContext(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString); var roles = context.Roles.ToList(); foreach (var role in roles) { Console.WriteLine("{0} {1} {2}", role.ID, role.Code, role.Name); } Console.ReadLine(); } } Please help me figure out what I'm doing wrong? thank