having a variable in a connection string c# app.config code example
Example: c# how to get connection string from app config
var connectionString=ConfigurationManager.ConnectionStrings["CharityManagement"].ConnectionString;
var connectionString=ConfigurationManager.ConnectionStrings["CharityManagement"].ConnectionString;