Question: I have this model for comment that each comment can be the answer of an other comment.

```
 public class Comment
 {
    public virtual int Id { get; set; }
    public virtual string Body { get; set; }
    public virtual DateTime? AddedDate { get; set; }
    public virtual bool IsApproved { get; set; }
    public virtual int LikeCount { get; set; }
    public virtual User User { get; set; }
    public virtual AnonymousUser AnonymousUser { get; set; }
    public virtual Post Post { get; set; }
    public virtual Page Page { get; set; }
    public virtual int? ParentId { get; set; }
    public virtual Comment Parent { get; set; }
    public ICollection<Comment> Children { get; set; }
    public virtual byte[] RowVersion { get; set; }
 }

```

I try this code to fetch comments that "IsApproved==true"

```
this._comments
            .Where(comment => comment.Post.Id == postId).Include(comment => comment.User)
            .Include(comment => comment.AnonymousUser)
            .Include(comment => comment.Children).Where(comment => comment.IsApproved == true)
            .OrderBy(comment => comment.AddedDate)
            .Skip(page * count)
            .Take(count).ToList()
            .Where(comment => comment.Parent == null).ToList();

```

But this query returns just the **root** comments that "IsApproved==true".

What shoud i do to filter all the comments even children.

Thanks

Answer: 
Simply remove `import android.R` and it will work.
* clean the project by selecting *Project - Clean*
* if `R.java` is not created, delete the gen folder, then re-create it manually, right-click, *Build Path - use as source folder*, rebuild the project
* if `R.java` is still not there, there is a probability that some of your XML files contain errors, check that
* in case your project's origin is an svn repository, there might be some invisible config files which the compiler does not recognize. Right-click your project - *Properties - Resources - Resource filters - add- exlude all - files and folders - name matches .svn*
* in case you downloaded and imported your project, check the target (SDK) and mare sure you have the required packages installed.