private void ReadNormalBinary()
        {
            FS = new FileStream("SalaryFile", FileMode.Open);
            BR = new BinaryReader(FS);

            SalaryBenefits y = new SalaryBenefits();

            y.VacationDays = BR.ReadInt32();
            y.SickDays     = BR.ReadInt32();
        }
        private void ReadMemNormalBinary()
        {
            MemoryStream MS = new MemoryStream(Buffer);

            BR = new BinaryReader(MS);

            SalaryBenefits y = new SalaryBenefits();

            y.VacationDays = BR.ReadInt32();
            y.SickDays     = BR.ReadInt32();
        }
        private void WriteNormalBinary()
        {
            FS = new FileStream("SalaryFile", FileMode.OpenOrCreate);
            BW = new BinaryWriter(FS);

            SalaryBenefits x = new SalaryBenefits();

            x.VacationDays = 82;
            x.SickDays     = 31;
            BW.Write(x.VacationDays);
            BW.Write(x.SickDays);
            BW.Flush();
            BW.Close();
        }
        private void WriteMemNormalBinary()
        {
            MemoryStream MS = new MemoryStream(Buffer);

            BW = new BinaryWriter(MS);

            SalaryBenefits x = new SalaryBenefits();

            x.VacationDays = 36;
            x.SickDays     = 17;
            BW.Write(x.VacationDays);
            BW.Write(x.SickDays);
            BW.Flush();
            BW.Close();
        }