Exemple #1
0
    public override string ToString()
    {
        var result = Field.ToString() + "\n";

        result += Property.ToString() + "\n";

        return(result);
    }
Exemple #2
0
 // 说明:测试正确性用的,不是必须
 public override string ToString()
 {
     return(string.Format("<a = {0}, b = {1}, c = {2}>",
                          a, b, c.ToString()));
 }