Check out example codes for "c# how to get connection string from app config". It will help you in understanding the concepts better.

Code Example 1

var connectionString=ConfigurationManager.ConnectionStrings["CharityManagement"].ConnectionString;

Learn ReactJs, React Native from akashmittal.com