Const vs Static vs Readonly in C#
How is Const different from Static? What does Readonly mean? Let's find out!
How is Const different from Static? What does Readonly mean? Let's find out!
Let's complete our C# model of Candy Land, and run it to show that it works.
Let's build the classic children's game Candy Land as a C# program!
I've written before about the idea that code needs to have a reason to exist [http://www.exceptionnotfound.net/code-must-have-a-reason-to-exist-even-if-we-dont-like-the-reason/] . Right alongside that idea is another I frequently find myself having to be reminded of: code must have a clear, explicit meaning. Let me clarify what I mean by that
The Dependency Inversion Principle [http://en.wikipedia.org/wiki/Dependency_inversion_principle] is comprised of two rules: * High-level modules should not depend on low-level modules. Both should depend on abstractions. * Abstractions should not depend on details. Details should depend on abstractions. This principle is primarily concerned with reducing dependencies among