c# reference
code works
MSDN
  ·   types and variables
  ·   casting and type conversions
  ·   implicit conversion
  ·   explicit conversion
  ·   string to number conversion
  ·   exceptions   and   try catch
MSDN
  ·   if/else
  ·   while
  ·   methods
  ·   read from a file
  ·   write to a file
  ·   windows code samples
Microsoft Reference:
  ·   Get Visual Studio
  ·   C# Course for Absolute Beginners
  ·   Getting Started with C#
  ·   MSDN Visual C#
  ·   C# Programming Guide
  ·   C# Reference
Tutors & Reference:
  ·   C# Complete Tutorial
  ·   C# Console Reference
  ·   Tutor: C# Station
  ·   Tutor: Blackwasp
  ·   Create a C# Windows program
  ·   Create a C# Console program
  ·   TIPS for using Visual Studio