Tutorial 1. Getting started

SSharp S# API

DropDown image DropDownHover image Collapse image Expand image CollapseAll image ExpandAll image Copy image CopyHover image

For installation details and referencing S# assembly consider following topics:

Minimum C# application:

 

using System;

using System.Diagnostics;

using System.IO;

using Scripting.SSharp;

using Scripting.SSharp.Runtime;

 

namespace Debug.Net

{

class Program

 {

  static void Main(string[] args)

   {

    RuntimeHost.Initialize();

    Script s = Script.Compile("Console.WriteLine('Hello World');");

     s.Execute();

     s.Dispose();

    RuntimeHost.CleanUp();

   }

  }

}