title: How to Get Value from Firebase in Xamarin?
body: <p>How to Get Data from Firebase Realtime Database using Xamarin Firebase.Database Android, as there is no documentation available and I am new user.</p>
  
  <pre><code>public void GetSubjects()
  {
     Database.Reference.Child("childName").Ref.AddListenerForSingleValueEvent(new ValueEventListener());
  }
  
  public class ValueEventListener : Java.Lang.Object, Firebase.Database.IValueEventListener
  {
  
      public void OnCancelled( DatabaseError error )
      {
         throw new NotImplementedException();
      }
  
      public void OnDataChange( DataSnapshot snapshot )
      {
  
        //How to Get Value from Snapshot?
        ClassName a = snapshot.GetValue(ClassName) //Gives Error
  
      }
  </code></pre>