Skip to content

limadelic/csharp.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

 ____       __ __                                  
/\  _`\    _\ \\ \__          __           
\ \ \/\_\ /\__  _  _\        /\_\    ____  
 \ \ \/_/_\/__\ \\ \__       \/\ \  /',__\ 
  \ \ \_\ \ /\_   _  _\  __   \ \ \/\__, `\
   \ \____/ \/_/\_\\_\/ /\_\  _\ \ \/\____/
    \/___/     \/_//_/  \/_/ /\ \_\ \/___/ 
                             \ \____/      
                              \/___/       

using c# in javascript

C#

namespace Math
{
  public class Calculator
  {
    public int add(int a, int b) { return a + b; }
  }
}

Coffeescript

require 'csharp'

using 'Math.Calculator'

calc = new Calculator

console.log calc.add 2, 2

Releases

No releases published

Packages

No packages published