Created
October 27, 2021 14:28
-
-
Save AhmedTarekHasan/18931361e80d455da1b5218406c100a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is the interface we are going to focus on. | |
// It is an interface for something that would be able | |
// to read and write data to something that is ready | |
// to be used this way. | |
public interface IReaderWriter<TData> where TData : Data | |
{ | |
void Initialize(); | |
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