This is my code :
var client = new FacebookClient(token);
dynamic result = client.Get("search?q=tbilisi&type=user", new { });
result.data is an array, how to determine if it's an empty array. For example what i'm trying to do :
while (true)
{
if (result == null)
{
break;
}
if (result.data == null )
{
break;
}
But not woks. When result.data = [] i want to check and break while loop.
result.countinstead of.lengthmaybe?dynamic?