Skip to content

Instantly share code, notes, and snippets.

@AhmedTarekHasan
Last active December 29, 2021 09:28
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/c0f2cca507966de5579540de28e3fc13 to your computer and use it in GitHub Desktop.
Save AhmedTarekHasan/c0f2cca507966de5579540de28e3fc13 to your computer and use it in GitHub Desktop.
public interface IReaderWriter
{
void Initialize();
}
public interface IReaderWriter<TData> : IReaderWriter where TData : Data
{
TData Read(int dataId);
void Write(TData data);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment