I've declared a class like this:
public class Cell : IEquatable<Cell>
{
public int id { get; }
public SetOfCells group;
}
And each time I want to use group
, Rider adds and @
before, like this:
foreach (Cell cell in c1.@group) {
/* blabla */
}
Precision: c1.@group
and c1.group
both works. Why is that?
(if you can tell me the right words to google to find a valuable answer I'm interested, because I couldn't find one: "csharp property +"@"
doesn't help...")