I have one application already on system. And creating another process (Independent Class library) to perform some other work.
If I have path of AppConfig file of my main application. How we can read connection string from another application?
string configFile = @"C:\Application\App.config";
string sqlConnectionString = ...;
SqlConnection conn = new SqlConnection(sqlConnectionString);
conn.Open();
ConfigurationManager will not work here I guess.