This your chance to see SharpKit in action, try out our online C# to JavaScript converter, play around with some C# code, and click Ctrl+B to compile and see the JavaScript result. For a start, try changing the JsMode value from Global to Prototype or Clr.

C# JavaScript
using SharpKit.JavaScript; using SharpKit.Html; using SharpKit.jQuery; namespace MyNamespace { [JsType(JsMode.Global)] public class MyPageClient : HtmlContext { public static void MyMethod() { new jQuery(document.body).append("Hello World"); } } }

Link to this code

Copy the following Url or HTML to get a direct link to this code.

© Copyright 2005-2012 SharpKit