2
Answers

dictionary instantiation

nhamitha

nhamitha

8y
367
1

Hi frndss,

I have below class and property. 

public class myDictionary{

private static Dictionary<string, string> myDictionary;
public static Dictionary<string, string> MyDictionary
        {
            get { return myDictionary; }
            set { myDictionary = value; }
        }}

how can I instantiate it only one time using properties? please help me.
Answers (2)