public class Foo
{
private readonly Bar _bar;
}
public class Foo2
{
private Bar _bar;
}
I don't see any benefit to marking it as readonly. It's private and if I try do something internally to modify it it's me being dumb since I know how I want my class to behave? So, what's the point? I don't think there is any performance gain here, so that can't be it.