Thanks. The issue is that newbies like me aren’t seeing these pitfalls in the beginners guide. My expectation level when reading such material is to have all References and Using statements spelled out because newbies are in learning mode when they’re reading a beginners guide. When you try to use the provided example and it doesn’t work, you drop out of learning mode and enter black-hole mode. :o
That little nugget about System.IO really should be put in the paragraph before the code example on Page 61, and any other example code [italic]for the purpose of instruction[/italic] really should have all references and using statements spelled out.
In regular .NET, you do not add a reference to System.IO.dll in the solution references to use FileStream or any of the StreamWriter definitions; all you do is add a using statement: “using System.IO” to include the appropriate namespace in your code.
This is where I got hung up.