예제 #1
0
파일: Post.cs 프로젝트: P3nto5/curso-cSharp
 public void RemoveComment(Comment comment)
 {
     Comments.Remove(comment);
 }
예제 #2
0
파일: Post.cs 프로젝트: P3nto5/curso-cSharp
 public void AddComment(Comment comment)
 {
     Comments.Add(comment);
 }