You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Supposing I have a SampleLibrary.cs file like this:
using System;
using System.Collections.Generic;
using System.Text;
namespace SampleLibrary
{
public class Algebra
{
public double Addition(double x, double y)
{
return x + y;
}
public double Subtraction(double x, double y)
{
return x - y;
}
public double Multiplication(double x, double y)
{
return x * y;
}
public double Division(double x, double y)
{
return x / y;
}
}
}
I tried to compile with both the -module switch and without the -module switch. I found the generated Lua code to be the same.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Supposing I have a
SampleLibrary.cs
file like this:I tried to compile with both the
-module
switch and without the-module
switch. I found the generated Lua code to be the same.Beta Was this translation helpful? Give feedback.
All reactions