I'm using VS2022 to create a webapi(.net6) project and trying to declaare somme gloabal variables which will be used among webapi controllers. What I did this way:

Declared static variable of type Dictionary at the top level folder of the project:
namespace CenterWebApiHub
{
public static class ParkCenterConfigs
{
public static ConcurrentDictionary<string, string> MapToConnections = new
ConcurrentDictionary<string, string>();
}
}
How to access this static Dictionary from Webapi controllers? Please help