Getting started with C#

Steps
  1. Create a new C# command line project
  2. Add a reference to the SmallSharpLibrary.dll
  3. At the top of the file type
    1. using Library;
  4. In the Main method type
    1. GraphicsWindow.Show();
    2. Turtle.Forward(100);
  5. Press F5

Getting started with F# Interactive

Steps:
  1. Open F# Interactive - press {CTRL+ALT+F} in Visual Studio
  2. In the interactive window type
    1. #r "C:\\My Install Location\\SmallSharpLibrary.dll";;
    2. open Library;;
    3. GraphicsWindow.Show();;
    4. GraphicsWindow.Topmost <- true;;
    5. Turtle.Forward(100);;

Last edited Oct 13, 2011 at 7:24 AM by ptrelford, version 4

Comments

No comments yet.