Exemple #1
0
    public string Serialize(bool newlines)
    {
        string newline = "";

        if (newlines)
        {
            newline = "\n";
        }
        return(prolog + newline + current.Serialize(newlines, 0));
    }
    public string Serialize(bool newlines)
    {
        string str = string.Empty;

        if (newlines)
        {
            str = "\n";
        }
        return(prolog + str + current.Serialize(newlines, 0));
    }