/* Mastering Visual C# .NET by Jason Price, Mike Gunderloy Publisher: Sybex; ISBN: 0782129110 */ /* Example2_6.cs illustrates scope */ public class Example2_6 { public static void Main() { { int myValue = 1; } myValue = 2; // causes error } }