Skip to content

Instantly share code, notes, and snippets.

@AhmedTarekHasan
Created October 27, 2021 14:44
Show Gist options
  • Save AhmedTarekHasan/4ddf541f1c6dfbacd181d2405bf7c65e to your computer and use it in GitHub Desktop.
Save AhmedTarekHasan/4ddf541f1c6dfbacd181d2405bf7c65e to your computer and use it in GitHub Desktop.
var employeeDataFileReaderWriter = new FileReaderWriter<EmployeeData>();
employeeDataFileReaderWriter.Initialize();
employeeDataFileReaderWriter.Write(new EmployeeData
{ DataId = 1, DataDescription = "Some description.", EmployeeName = "Ahmed" });
var ahmed = employeeDataFileReaderWriter.Read(1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment