you have to initialize your store object first.Use like below
public class Program
{
public static Dictionary<Guid, Dictionary<string, object>> Store {get; set;}
static Program()
{
Store=new Dictionary<Guid, Dictionary<string, object>>();
}
public static void Main(string[] args)
{
Guid clientId = Guid.NewGuid();
Dictionary<string,object> storageKeyDictionary = new Dictionary<string, object>() { { "parameter", "test" }};
Store.Add(clientId, storageKeyDictionary);
Console.WriteLine("Hello, world!");
}
}
or you can directly write like
public class Program
{
public static Dictionary<Guid, Dictionary<string, object>> Store =new Dictionary<Guid, Dictionary<string, object>>();
public static void Main(string[] args)
{
Guid clientId = Guid.NewGuid();
Dictionary<string,object> storageKeyDictionary = new Dictionary<string, object>() { { "parameter", "test" }};
Store.Add(clientId, storageKeyDictionary);
Console.WriteLine("Hello, world!");
}
}