Skip to content

Instantly share code, notes, and snippets.

@AhmedTarekHasan
Last active October 27, 2021 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AhmedTarekHasan/99a33ddea394dd8cf7de4af65f037432 to your computer and use it in GitHub Desktop.
Save AhmedTarekHasan/99a33ddea394dd8cf7de4af65f037432 to your computer and use it in GitHub Desktop.
public interface IReaderWriter
{
void Initialize();
Data Read(int dataId);
void Write(Data data);
}
public class FileReaderWriter : IReaderWriter
{
public void Initialize() { throw new NotImplementedException(); }
public Data Read(int dataId) { throw new NotImplementedException(); }
public void Write(Data data) { throw new NotImplementedException(); }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment