Skip to content

Instantly share code, notes, and snippets.

@AhmedTarekHasan
Last active December 29, 2021 09:28
  • 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
Embed
What would you like to do?
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