////////////////////////////////////////////////////////////////////////////////////////////////////
        /// \fn private bool CreateBaseClassText(ref string fileText, NetworkElement networkElement, string enumClass)
        ///
        /// \brief Creates base class text.
        ///
        /// \par Description.
        //       Create the code to one Base algorithm class
        ///
        /// \par Algorithm.
        ///
        /// \par Usage Notes.
        ///
        /// \author Ilanh
        /// \date 18/03/2018
        ///
        /// \param [in,out] fileText       (ref string) - The file text.
        /// \param          networkElement  (NetworkElement) - The network element.
        /// \param          enumClass       (string) - The enum class.
        ///
        /// \return True if the user quitted .
        ////////////////////////////////////////////////////////////////////////////////////////////////////

        private bool CreateBaseClassText(ref string fileText, NetworkElement networkElement, string enumClass)
        {
            string classText = eol + "\t#region /// \\name partial class for " + "Base" + classNames[classIdx];

            classText += eol + "\tpublic partial class " + "Base" + classNames[classIdx] + @": " + "NetworkElement";
            classText += eol + "\t{";
            classText += networkElement.CreateGettersSetters(enumClass, "Base", "Base");
            classText += eol + "\t}";
            classText += eol + "\t#endregion";
            if (ShowClass(ref fileText, "partial", classText, "Base" + classNames[classIdx]))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
        ////////////////////////////////////////////////////////////////////////////////////////////////////
        /// \fn private bool CreateNetworkElementText(ref string fileText)
        ///
        /// \brief Creates network element text.
        ///
        /// \par Description.
        ///
        /// \par Algorithm.
        ///
        /// \par Usage Notes.
        ///
        /// \author Ilanh
        /// \date 18/03/2018
        ///
        /// \param [in,out] fileText (ref string) - The file text.
        ///
        /// \return True if it succeeds, false if it fails.
        ////////////////////////////////////////////////////////////////////////////////////////////////////

        private bool CreateNetworkElementText(ref string fileText)
        {
            NetworkElement networkElement = new NetworkElement();

            networkElement.Init(0);
            string text = eol + @"namespace DistributedAlgorithms" + eol + "{" + eol;

            text += eol + "\t#region /// \\name partial class for " + "NetworkElement";
            text += eol + "\tpublic partial class " + "NetworkElement" + @": " + "IValueHolder";
            text += eol + "\t{";
            text += networkElement.CreateGettersSetters("ne");
            text += eol + "\t}";
            text += eol + "\t#endregion";
            text += eol + "}";
            if (ShowClass(ref fileText, "partial", text, "NetworkElement"))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }