(When the class is public and the member is public, protected or protected internal.)
Before reading any further, please read the disclaimer in the C# Bloopers post.
The C# compiler is kind enough to give you a "field is never assigned to" warning if you forget to initialize a readonly member which is private or internal, or if the class in which it is being declared is internal. But if the class is public, and the readonly member is public, protected or protected internal, then no warning for you! Why, oh why?
Read more »