public static void LoadInstance(string fileName) { using (var st = File.OpenRead(fileName)) Instance = (BinarySerializer) new BinaryFormatter().Deserialize(st); }
public static void CreateInstance() { Instance = new BinarySerializer(); }