Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need Assistance Understanding This Class
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Need Assistance Understanding This Class
Divers
Thread ID:
01386808
Message ID:
01386808
Vues:
102
I'm trying to understand a binaray tree class. In the file is this class:
// Define tree nodes
public class TTreeNode 
{
   public string name;
   public double value; 
   public TTreeNode left, right;        // <-- What is this??
       
    // Constructor to create a single node 
	public TTreeNode (string name, double d) 
    {
          this.name = name;
          value = d;
          left = null;
          right = null;
    }
}
See comment in line. I don't understand that syntax.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform