Skip to content

Instantly share code, notes, and snippets.

Created October 27, 2021 14:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
// This is the class implementing our IReaderWriter<TData>
// but now we know that it is going to save and retrieve
// data to and from a file. We would not care about the
// implementation so don't give it too much thought.
public class FileReaderWriter<TData> : IReaderWriter<TData> where TData : Data
public void Initialize() { throw new NotImplementedException(); }
public TData Read(int dataId) { throw new NotImplementedException(); }
public void Write(TData data) { throw new NotImplementedException(); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment