Pete O'Hanlon wrote:
you declare book but you don't set it to a value so it will never trigger the WriteLine condition because an int defaults to 0.
Worse actually, it will fail to compile. It doesn't satisfy the definite assignment rules (it doesn't even try).