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