I've developed a C # (CSharp) script for web pages! But I do not remember how to add the script tag being that it is the C # language and not javascript.
I've developed a C # (CSharp) script for web pages! But I do not remember how to add the script tag being that it is the C # language and not javascript.
You can try using Script #, link , a compiler that converts .Net to JavaScript.
Would not it be great if you could write C # code instead of JavaScript? This is possible with Script # (version 0.5.1), which is a free compiler, runtime, and structure created by Microsoft software architect Nikhil Kothari. The Script compiler takes the C # code and converts it into equivalent JavaScript code. Use Script # to create short and unitary JavaScript functions or event handlers as well as larger JavaScript libraries. You can use it to create ASP.NET AJAX behaviors and components or Windows Vista Sidebar gadgets. The Script # compiler can use .resx files to generate localized script files and can be configured to generate debug or version scripts. (Debug scripts have blank spaces and descriptive variable names for easy reading, while version scripts have their unneeded whitespace removed and variable renaming to simplify code compression.) In short, Script # provides all the benefits of working with C # code - compilation-time errors, familiarity with C # semantics and OOP syntax, and better tool support - while generating the JavaScript code required for the Web application or the gadgets in the Toolbar Side. link
Or the JSIL link
While being abandoned, if you really want to use C # in your browser, you can use Silverlight