Exemplo n.º 1
0
        /// <summary>
        /// Serializes the data in the list
        /// </summary>
        /// <param name="fileName"></param>
        /// <returns></returns>
        public bool BinarySerialize(string fileName)
        {
            bool sucess = false;

            if (!string.IsNullOrEmpty(fileName))// first we check so that the fileName is not empty or null
            {
                sucess = true;
            }
            if (sucess)
            {
                BinSerializerUtility.BinaryFileSerList(adaptableList, fileName);// drive the method in the utility class
            }
            return(sucess);
        }