![enter image description here](https://i.stack.imgur.com/dcxMv.png)

```
public void AddDatabase(User user)
{

    //User user = new User("pç", 2);
    Dictionary<string, object> result = new Dictionary<string, object>();
    result["score"] = user.score;
    result["username"] = user.username;
    reference.Child("datas").Child(user.username).SetValueAsync(result);

}

public void GetDatabase()
{
    FirebaseDatabase.DefaultInstance.GetReference("datas").GetValueAsync().ContinueWith(task =>
    {
        if (task.IsFaulted)
        {
            // Handle the error...
        }
        else if (task.IsCompleted)
        {
            DataSnapshot snapshot = task.Result;

            ArrayList childs = new ArrayList();
            //Dictionary<string, object> xyz = new Dictionary<string, object>();

            foreach (var item in snapshot.Children)
            {
                childs.Add(item.Value);

                //xyz.Add("dat", item.Value);
            }

            // this does not work I can't see values and keys in the console
            foreach (KeyValuePair<string, object> item in childs)
            {   
                Debug.Log(item.Key);
                Debug.Log(item.Value);
            }
        }
    });
}

```

I write datas into firebase with AddDatabase and I want to read every Score and Username one by one in order with GetDatabase so I can put them Leaderboard but I can't how can I do that and I already checked firebase database docs.
Thank you