Im creating a blog i try to "connect" a list of comments to each blog-posts:
public class BlogPost
{
public int BlogPostId { get; set; }
public string Post { get; set; }
}
comment-class:
public class Comment
{
public int CommentId { get; set; }
public string Comment { get; set; }
}
How do I specify in my BlogPost-class that I want it to be able to have a list of comments to it?