So, in some C# code, I have something similar to the two properties:
private string _foo;
private string _bar;
public Foo
{
get;
set {
_foo = value;
Bar = _foo.Substring(3, 5);
}
}
public Bar
{
get;
set {
_bar = value;
Foo = "XXX" + _bar;
}
}
Question: Are C# properties subject to circular references/updates, like this example would seem to cause?