title: Unity c# Iterate over a Firebase Snapshot
body: <p>I have this json database</p>
  
  <pre><code>{ 
  "shops" : {
          "7" : {
            "cod1" : {
              "name" : "name3",
              "description" : "xxx",
  
            },
            "cod2" : {
              "name" : "name2",
              "description" : "xxx",
  
            },
            "cod3" : {
              "name" : "name1",
              "description" : "xxx",
  
            },
  </code></pre>
  
  <p>I need to iterate over the snapshot to get cod1,cod2,cod3 and i need to do something for every one of those codes that I do not previously know</p>
  
  <pre><code>public void load(string city){
  //city is number 7 in this case;
          Firebase.Auth.FirebaseUser user = auth.CurrentUser;
          FirebaseDatabase.DefaultInstance
                          .RootReference.Child ("shops").Child (city)
              .GetValueAsync ().ContinueWith (task =&gt; {
              if (task.IsFaulted) {
                  // Handle the error...
              } else if (task.IsCompleted) {
                  DataSnapshot snapshot = task.Result;
                  int i = 0;
  
                  foreach (DataSnapshot shop in snapshot.Children) {
                          debug.text = "\nstarting with #" + i.ToString () + ": " + shop.Key+";\n";
  
                          i++;
                  }
  
              }
          });
  </code></pre>
  
  <p>I need debug.text to show "Starting with #1: cod1" and then again with cod2 and cod3</p>
  
  <p>Now I get something like "Starting with #1: 7" that is the key of the parent of those codes</p>
  
  <p>Is there a way to get those codes?</p>