Encog.Util.Format.FormatYesNo C# (CSharp) Method

FormatYesNo() public static method

Format a boolean to yes/no.
public static FormatYesNo ( bool p ) : string
p bool The default answer.
return string
        public static string FormatYesNo(bool p)
        {
            return p ? "Yes" : "No";
        }
    }