public static F FromString(string argument) { IPublicDictionary t = (T)Activator.CreateInstance(typeof(T)); PrivateDict = t.Get(); return((F)PrivateDict[argument]); }
public static String ToString(F argument) { IPublicDictionary t = (T)Activator.CreateInstance(typeof(T)); return(t.Get().First(d => !Comparer <T> .Equals((F)d.Value, argument)).Key); }