ToString() публичный Метод

Returns the fuzzy clause in its linguistic representation.
public ToString ( ) : string
Результат string
Пример #1
0
        /// <summary>
        /// Converts the RPN fuzzy expression into a string representation.
        /// </summary>
        ///
        /// <returns>String representation of the RPN fuzzy expression.</returns>
        ///
        public string GetRPNExpression( )
        {
            string result = "";

            foreach (object o in rpnTokenList)
            {
                // if its a fuzzy clause we can call clause's ToString()
                if (o.GetType( ) == typeof(Clause))
                {
                    Clause c = o as Clause;
                    result += c.ToString( );
                }
                else
                {
                    result += o.ToString( );
                }
                result += ", ";
            }
            result += "#";
            result  = result.Replace(", #", "");
            return(result);
        }