예제 #1
0
 private bool Equals(DonationUnder80G other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(other.Id == Id);
 }
예제 #2
0
 public void AddDonation(DonationUnder80G donationUnder80G)
 {
     Donations.Add(donationUnder80G);
 }
예제 #3
0
 public void AddDonation(DonationUnder80G donationUnder80G)
 {
     Donations.Add(donationUnder80G);
 }
예제 #4
0
 private bool Equals(DonationUnder80G other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.Id == Id;
 }