-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
class First : BaseEquatable
{
public int Id { get; set; }
public string Name { get; set; }
public Second Second{ get; set; }
public override List<object?> Props => [Id, Name, Second];
public override bool? Stringify => true;
} class Second : BaseEquatable
{
public int Id { get; set; }
public string Name { get; set; }
public First First { get; set; }
public override List<object?> Props => [Id, Name, First];
public override bool? Stringify => true;
}then in programm.cs something like:
First first = new First();
Second second = new Second();
first.Second = second;
second.first = first;
Console.Writeline(first.Equals(second)); // throws an error;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels