I am still learning C#. I come from a Delphi and C past.
I am used to being to create flat data files of of records. Example:
// Sample Delphi code...
type
SectorRecord = Record
iIdx : integer;
iCoordX : integer;
iCoordY : integer;
sName : String[60];
end;
.....
myFile : File of SectorRecord;
sr : SectorRecord;
AssignFile(myFile,'someFileName.DAT');
Reset(myFile);
Read(myFile,sr);
CloseFile(myFile);
Is there just nothing like this in C#?
Everything I look up concerning file access in C# points me back to text files I have to parse through, or creating a database (and all the support coding that goes along with that).
Am I just not understanding the terminology and not looking up the right word for this type of file?
Thanks in advance.