Created
October 27, 2021 16:38
-
-
Save AhmedTarekHasan/070b8a3efda6f8e7f3cda7a93204ddd9 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
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(); } | |
Data IReaderWriter.Read(int dataId) { return Read(dataId); } | |
void IReaderWriter.Write(Data data) { Write((TData)data); } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment