State: Implementation and Example
Learn the State design pattern by implementing an example program.
We'll cover the following...
Creating a console application
We’ll create a console application project which will mimic the basic operation of a smartphone. All we need for demonstration purposes is to show how the smartphone’s “Home” button behaves differently when its state ...