Hi frndss,
I have below class and property.
public class myDictionary{
private static Dictionary
public static Dictionary
{
get { return myDictionary; }
set { myDictionary = value; }
}}
how can I instantiate it only one time using properties? please help me.
Shweta LodhaPosted Jan 29, 2016, 11:21 AM
public class myDictionary
{
private static Dictionary<string, string> myDictionary = new Dictionary<string, string>();
public static Dictionary<string, string> MyDictionary
{
get { return sDictionary; }
set { sDictionary = value; } }
}
Sujeet SumanPosted Jan 29, 2016, 12:41 PM